Class: Lignite::DirectReply
Instance Attribute Summary collapse
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#globals ⇒ Object
readonly
Returns the value of attribute globals.
-
#msgid ⇒ Object
readonly
Returns the value of attribute msgid.
Attributes inherited from Message
Instance Method Summary collapse
Methods inherited from Message
#bytes, direct_command_no_reply, direct_command_with_reply, #initialize, msgid, reply_from_bytes, system_command_no_reply, system_command_with_reply
Methods included from Bytes
#f32, #hexdump, #u16, #u32, #u8, #unpack_u16, #unpack_u32, #unpack_u8
Methods included from Logger
Constructor Details
This class inherits a constructor from Lignite::Message
Instance Attribute Details
#error ⇒ Object (readonly)
Returns the value of attribute error.
94 95 96 |
# File 'lib/lignite/message.rb', line 94 def error @error end |
#globals ⇒ Object (readonly)
Returns the value of attribute globals.
94 95 96 |
# File 'lib/lignite/message.rb', line 94 def globals @globals end |
#msgid ⇒ Object (readonly)
Returns the value of attribute msgid.
94 95 96 |
# File 'lib/lignite/message.rb', line 94 def msgid @msgid end |
Instance Method Details
#error? ⇒ Boolean
96 97 98 |
# File 'lib/lignite/message.rb', line 96 def error? @error end |
#new(msgid:, error:, body:) ⇒ Object
88 89 90 91 92 |
# File 'lib/lignite/message.rb', line 88 def new(msgid:, error:, body:) @msgid = msgid @error = error @globals = body end |