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



17
18
19
# File 'lib/pio/open_flow10/match10.rb', line 17

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

#set(object) ⇒ Object



13
14
15
# File 'lib/pio/open_flow10/match10.rb', line 13

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