Class: Pio::OpenFlow10::PacketIn
- Inherits:
-
Pio::OpenFlow::Message
- Object
- Pio::OpenFlow::Message
- Pio::OpenFlow10::PacketIn
- Defined in:
- lib/pio/open_flow10/packet_in.rb
Overview
OpenFlow 1.0 Packet-In message
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
46 47 48 |
# File 'lib/pio/open_flow10/packet_in.rb', line 46 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.
50 51 52 |
# File 'lib/pio/open_flow10/packet_in.rb', line 50 def datapath_id @datapath_id end |