Class: Pio::OpenFlow10::Match10

Inherits:
BinData::Primitive
  • Object
show all
Defined in:
lib/pio/open_flow10/match10.rb

Overview

Pio::MatchFormat wrapper.

Instance Method Summary collapse

Instance Method Details

#getObject



19
20
21
# File 'lib/pio/open_flow10/match10.rb', line 19

def get
  Pio::OpenFlow10::Match.read match
end

#set(object) ⇒ Object



15
16
17
# File 'lib/pio/open_flow10/match10.rb', line 15

def set(object)
  self.match = object.to_binary_s
end