Class: Pio::OpenFlow::Header
- Inherits:
-
BinData::Record
- Object
- BinData::Record
- Pio::OpenFlow::Header
- Defined in:
- lib/pio/open_flow/header.rb
Overview
OpenFlow message header parser
Instance Method Summary collapse
Instance Method Details
#to_bytes ⇒ Object
20 21 22 23 24 25 |
# File 'lib/pio/open_flow/header.rb', line 20 def to_bytes [version, type, , transaction_id].map(&:to_bytes).join(', ') end |