Class: Samsung::Protocol::AuthFrame
- Defined in:
- lib/samsung/protocol/auth_frame.rb
Instance Attribute Summary
Attributes inherited from Frame
Instance Method Summary collapse
-
#initialize(local_ip, app_id, name) ⇒ AuthFrame
constructor
A new instance of AuthFrame.
Methods inherited from Frame
#hex, #pop_frame, #pop_int16, #pop_int32, #pop_int8, #pop_string, #pop_string64, #push_frame, #push_int16, #push_int32, #push_int8, #push_string, #push_string64, #size
Constructor Details
#initialize(local_ip, app_id, name) ⇒ AuthFrame
Returns a new instance of AuthFrame.
4 5 6 7 8 9 10 11 |
# File 'lib/samsung/protocol/auth_frame.rb', line 4 def initialize(local_ip, app_id, name) super() push_int8(0x64) push_int8(0x00) push_string64(local_ip) push_string64(app_id) push_string64(name) end |