Class: OpenFlow::Protocol::FlowMod

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



19
20
21
# File 'lib/openflow-protocol/messages/flow_mod.rb', line 19

def body_length
  64 + actions.to_binary_s.length
end