Class: Pio::OpenFlow13::GotoTable
- Inherits:
-
Pio::OpenFlow::Instruction
- Object
- Pio::OpenFlow::Instruction
- Pio::OpenFlow13::GotoTable
- Extended by:
- Forwardable
- Defined in:
- lib/pio/open_flow13/goto_table.rb
Overview
Resubmit to the table_id
Defined Under Namespace
Classes: Format
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(table_id) ⇒ GotoTable
constructor
A new instance of GotoTable.
Constructor Details
#initialize(table_id) ⇒ GotoTable
Returns a new instance of GotoTable.
36 37 38 |
# File 'lib/pio/open_flow13/goto_table.rb', line 36 def initialize(table_id) @format = Format.new(table_id: table_id) end |
Class Method Details
.read(raw_data) ⇒ Object
22 23 24 25 26 |
# File 'lib/pio/open_flow13/goto_table.rb', line 22 def self.read(raw_data) allocate.tap do |goto_table| goto_table.instance_variable_set :@format, Format.read(raw_data) end end |