class Pio::OpenFlow10::ExactMatch
OpenFlow
1.0 exact match
Public Class Methods
new(packet_in)
click to toggle source
# File lib/pio/open_flow10/exact_match.rb, line 9 def initialize(packet_in) @match = packet_in.data.to_exact_match(packet_in.in_port) rescue NoMethodError raise NotImplementedError, "#{packet_in.data.class} is not yet supported by ExactMatch." end
Public Instance Methods
method_missing(method, *args, &block)
click to toggle source
# File lib/pio/open_flow10/exact_match.rb, line 16 def method_missing(method, *args, &block) @match.__send__ method, *args, &block end