Class: SDN::Message::GetNodeAddr

Inherits:
SDN::Message show all
Defined in:
lib/sdn/messages/get.rb

Constant Summary collapse

MSG =
0x40
PARAMS_LENGTH =
0

Instance Attribute Summary

Attributes inherited from SDN::Message

#ack_requested, #dest, #reserved, #src

Instance Method Summary collapse

Methods inherited from SDN::Message

#class_inspect, #inspect, parse, #parse, readpartial, #serialize

Methods included from Helpers

#checksum, #from_number, #from_string, #is_group_address?, #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.



85
86
87
88
# File 'lib/sdn/messages/get.rb', line 85

def initialize(dest = [0xff, 0xff, 0xff], **kwargs)
  kwargs[:dest] ||= dest
  super(**kwargs)
end