Sha256: 400b99e8464792cea7b7124a11554741736955d3ba18f0938958ec18fe60fe24

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 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, message_type: 2
        string :body, read_length: -> { message_length - 8 }

        alias_method :user_data, :body
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
pio-0.30.0 lib/pio/open_flow13/echo/request.rb
pio-0.29.0 lib/pio/open_flow13/echo/request.rb
pio-0.28.1 lib/pio/open_flow13/echo/request.rb
pio-0.28.0 lib/pio/open_flow13/echo/request.rb
pio-0.27.2 lib/pio/open_flow13/echo/request.rb