Class: Pio::FlowMod::FlowModBody

Inherits:
BinData::Record
  • Object
show all
Extended by:
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 Flags

_def_flags, flags_16bit, flags_32bit

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


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

def empty?
  false
end

#lengthObject



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

def length
  64 + actions.binary.length
end