Class: Pio::OpenFlow13::Hello::Body
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Pio::OpenFlow13::Hello::Body
- Defined in:
- lib/pio/open_flow13/hello.rb
Overview
OpenFlow 1.3 Hello message body.
Instance Method Summary collapse
Instance Method Details
#length ⇒ Object
37 38 39 40 41 42 43 |
# File 'lib/pio/open_flow13/hello.rb', line 37 def length if elements.empty? 0 else elements.length * 4 + 4 end end |