class Pio::OpenFlow10::VendorAction
Vendor defined action
Public Class Methods
new(vendor)
click to toggle source
# File lib/pio/open_flow10/vendor_action.rb, line 32 def initialize(vendor) @format = Format.new(vendor: vendor) end
read(raw_data)
click to toggle source
# File lib/pio/open_flow10/vendor_action.rb, line 19 def self.read(raw_data) allocate.tap do |strip_vlan| strip_vlan.instance_variable_set :@format, Format.read(raw_data) end end