Class: MTP::Event

Inherits:
Container show all
Defined in:
lib/mtp/container.rb

Instance Attribute Summary

Attributes inherited from Container

#code, #length, #length_read, #payload, #transaction_id

Instance Method Summary collapse

Methods inherited from Container

#pack, #pack_header, #pack_payload, parse, #to_s

Instance Method Details

#typeObject



117
118
119
# File 'lib/mtp/container.rb', line 117

def type
    4
end