Class: Pio::Features::Reply::Body

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

Overview

Message body of features reply.

Instance Method Summary collapse

Methods included from OpenFlow::Flags

_def_flags, flags_16bit, flags_32bit

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'lib/pio/features.rb', line 52

def empty?
  false
end

#lengthObject



56
57
58
# File 'lib/pio/features.rb', line 56

def length
  24 + ports.to_binary_s.length
end