Class: Pio::FlowMod::Body

Inherits:
BinData::Record
  • Object
show all
Extended by:
OpenFlow::Flags
Defined in:
lib/pio/flow_mod.rb

Overview

Message body of FlowMod.

Defined Under Namespace

Classes: Match

Instance Method Summary collapse

Methods included from OpenFlow::Flags

_def_flags, flags_16bit, flags_32bit

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


67
68
69
# File 'lib/pio/flow_mod.rb', line 67

def empty?
  false
end

#lengthObject



71
72
73
# File 'lib/pio/flow_mod.rb', line 71

def length
  64 + actions.binary.length
end