Class: RStyx::Message::Rread

Inherits:
StyxMessage show all
Defined in:
lib/rstyx/messages.rb

Overview

Class representing an Rread message sent by a Styx server. See Inferno’s read(5) for more details.

Fields

data

the data read from the file

Constant Summary

Constants inherited from StyxMessage

StyxMessage::MESSAGE_IDS

Instance Attribute Summary

Attributes inherited from StyxMessage

#fieldvals

Instance Method Summary collapse

Methods inherited from StyxMessage

add_field, fields, from_bytes, #ident, #initialize, #tag, #tag=, #to_bytes, #to_s

Constructor Details

This class inherits a constructor from RStyx::Message::StyxMessage

Instance Method Details

#countObject



799
800
801
# File 'lib/rstyx/messages.rb', line 799

def count
  return(@fieldvals[:data].length)
end