Class: Pio::PacketIn::Body

Inherits:
BinData::Record
  • Object
show all
Defined in:
lib/pio/packet_in.rb

Overview

Message body of Packet-In.

Instance Method Summary collapse

Instance Method Details

#empty?Boolean

Returns:

  • (Boolean)


39
40
41
# File 'lib/pio/packet_in.rb', line 39

def empty?
  false
end

#lengthObject



43
44
45
# File 'lib/pio/packet_in.rb', line 43

def length
  10 + raw_data.length
end