class Pio::OpenFlow13::SendOutPort

Output to switch port.

Constants

NO_BUFFER

Public Class Methods

new(port) click to toggle source
Calls superclass method Pio::OpenFlow::Action::new
# File lib/pio/open_flow13/send_out_port.rb, line 18
def initialize(port)
  super(port: port)
end

Public Instance Methods

max_length() click to toggle source
# File lib/pio/open_flow13/send_out_port.rb, line 22
def max_length
  case @format.max_length
  when NO_BUFFER
    :no_buffer
  else
    @format.max_length
  end
end