class Empp::MsgActiveTest
Public Class Methods
new()
click to toggle source
# File lib/empp/msg_active_test.rb, line 8 def initialize @command_id = Constants::EMPP_ACTIVE_TEST @total_length = 12 setSequenceId end
Public Instance Methods
package()
click to toggle source
# File lib/empp/msg_active_test.rb, line 14 def package buf = Utils::ByteBuffer.new # add header buf.append_uint_be(@total_length) buf.append_uint_be(@command_id) buf.append_uint_be(@sequence_id) buf.data end