Class: OFVendor

Inherits:
OFMessage show all
Defined in:
lib/messages/vendor.rb

Constant Summary

Constants inherited from OFMessage

OFMessage::HEADER_LENGTH, OFMessage::OFP_VERSION, OFMessage::TYPES

Instance Attribute Summary

Attributes inherited from SuperclassBase

#type_str

Instance Method Summary collapse

Methods inherited from SuperclassBase

#initialize_instance

Instance Method Details

#body_lengthObject



7
8
9
# File 'lib/messages/vendor.rb', line 7

def body_length
  4 + data.length
end