Class: SDN::Message::SimpleRequest

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

Constant Summary collapse

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 = nil, **kwargs) ⇒ SimpleRequest

Returns a new instance of SimpleRequest.



133
134
135
136
# File 'lib/sdn/message.rb', line 133

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