Class: OpenFlow::Protocol::FeaturesReply

Inherits:
Message show all
Defined in:
lib/openflow-protocol/messages/features_reply.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



39
40
41
# File 'lib/openflow-protocol/messages/features_reply.rb', line 39

def body_length
  24 + ports.to_binary_s.length
end