class Pio::OpenFlow13::GotoTable

Resubmit to the table_id

Public Class Methods

new(table_id) click to toggle source
# File lib/pio/open_flow13/goto_table.rb, line 36
def initialize(table_id)
  @format = Format.new(table_id: table_id)
end
read(raw_data) click to toggle source
# 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