class Lignite::SystemReply
A reply to a SystemCommand
Attributes
command[R]
data[R]
error[R]
msgid[R]
status[R]
Public Class Methods
new(msgid:, error:, body:)
click to toggle source
# File lib/lignite/message.rb, line 76 def initialize(msgid:, error:, body:) @msgid = msgid @error = error @command = unpack_u8(body[0]) @status = unpack_u8(body[1]) @data = body[2..-1] end
Public Instance Methods
error?()
click to toggle source
# File lib/lignite/message.rb, line 86 def error? @error end