Sha256: a9cec5309efdc96231df6b2d523939c3eb561339e9b9b951c5d2ad3988852daa

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

require 'pio/open_flow/message'

module Pio
  module OpenFlow13
    module Echo
      # OpenFlow 1.3 Echo Request message.
      class Request < OpenFlow::Message
        open_flow_header version: 4, type: 2
        string :body, read_length: -> { length - header_length }

        alias user_data body
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.1 lib/pio/open_flow13/echo/request.rb