Class: SDN::Message::GetNodeAddr
- Inherits:
-
SDN::Message
- Object
- SDN::Message
- SDN::Message::GetNodeAddr
- Defined in:
- lib/sdn/message/get.rb
Constant Summary collapse
- MSG =
0x40
- PARAMS_LENGTH =
0
Instance Attribute Summary
Attributes inherited from SDN::Message
#ack_requested, #dest, #node_type, #src
Instance Method Summary collapse
-
#initialize(dest = [0xff, 0xff, 0xff], **kwargs) ⇒ GetNodeAddr
constructor
A new instance of GetNodeAddr.
Methods inherited from SDN::Message
#==, #class_inspect, expected_response?, inherited, #inspect, #parse, parse, #serialize
Methods included from Helpers
#checksum, #from_number, #from_string, #group_address?, #node_type_from_number, #node_type_to_number, #node_type_to_string, #parse_address, #print_address, #to_number, #to_string, #transform_param
Constructor Details
#initialize(dest = [0xff, 0xff, 0xff], **kwargs) ⇒ GetNodeAddr
Returns a new instance of GetNodeAddr.
89 90 91 92 |
# File 'lib/sdn/message/get.rb', line 89 def initialize(dest = [0xff, 0xff, 0xff], **kwargs) kwargs[:dest] ||= dest super(**kwargs) end |