Class: Pio::OpenFlow13::PacketIn
- Inherits:
-
Pio::OpenFlow::Message
- Object
- Pio::OpenFlow::Message
- Pio::OpenFlow13::PacketIn
- Defined in:
- lib/pio/open_flow13/packet_in.rb
Overview
OpenFlow 1.3 PacketIn message parser and generator
Defined Under Namespace
Classes: Reason
Instance Attribute Summary collapse
-
#datapath_id ⇒ Object
(also: #dpid)
Returns the value of attribute datapath_id.
Instance Method Summary collapse
Methods inherited from Pio::OpenFlow::Message
inherited, #initialize, method_missing, open_flow_header, read, #to_binary
Constructor Details
This class inherits a constructor from Pio::OpenFlow::Message
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *args) ⇒ Object
52 53 54 |
# File 'lib/pio/open_flow13/packet_in.rb', line 52 def method_missing(method, *args) data.__send__(method, *args).snapshot end |
Instance Attribute Details
#datapath_id ⇒ Object Also known as: dpid
Returns the value of attribute datapath_id.
40 41 42 |
# File 'lib/pio/open_flow13/packet_in.rb', line 40 def datapath_id @datapath_id end |