Class: OFFlowMod

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



17
18
19
# File 'lib/messages/flow_mod.rb', line 17

def body_length
  64 + actions.to_binary_s.length
end