Class: Rex::Proto::ADB::Message::Open

Inherits:
Rex::Proto::ADB::Message show all
Defined in:
lib/rex/proto/adb/message.rb

Constant Summary collapse

COMMAND =
"OPEN"

Constants inherited from Rex::Proto::ADB::Message

MESSAGE_TYPES, WORD_PACK, WORD_WIDTH

Instance Attribute Summary

Attributes inherited from Rex::Proto::ADB::Message

#arg0, #arg1, #command, #data

Instance Method Summary collapse

Methods inherited from Rex::Proto::ADB::Message

#command_word, #data_check, #magic, read, #send_recv, #serialize, #to_s

Constructor Details

#initialize(local_id, destination) ⇒ Open

Returns a new instance of Open.



120
121
122
# File 'lib/rex/proto/adb/message.rb', line 120

def initialize(local_id, destination)
  super(local_id, 0, destination)
end