Class: OpenFlow::Protocol::Vendor

Inherits:
Message show all
Defined in:
lib/openflow-protocol/messages/vendor.rb

Constant Summary

Constants inherited from Message

Message::HEADER_LENGTH, Message::OFP_VERSION, Message::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



9
10
11
# File 'lib/openflow-protocol/messages/vendor.rb', line 9

def body_length
  4 + data.length
end