Class: SDN::Message::PostNodeLabel
- Inherits:
-
SDN::Message
- Object
- SDN::Message
- SDN::Message::PostNodeLabel
- Defined in:
- lib/sdn/messages/post.rb
Constant Summary collapse
- MSG =
0x65
Instance Attribute Summary collapse
-
#label ⇒ Object
Returns the value of attribute label.
Attributes inherited from SDN::Message
#ack_requested, #dest, #reserved, #src
Instance Method Summary collapse
Methods inherited from SDN::Message
#class_inspect, #initialize, #inspect, 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
This class inherits a constructor from SDN::Message
Instance Attribute Details
#label ⇒ Object
Returns the value of attribute label.
126 127 128 |
# File 'lib/sdn/messages/post.rb', line 126 def label @label end |
Instance Method Details
#parse(params) ⇒ Object
128 129 130 |
# File 'lib/sdn/messages/post.rb', line 128 def parse(params) @label = to_string(params) end |