Sha256: 8352063e7552694cc03cb930df5ae367f04622e655a99bae24d6ae6e1bc67162

Contents?: true

Size: 392 Bytes

Versions: 5

Compression:

Stored size: 392 Bytes

Contents

require 'pio/open_flow/message'

module Pio
  module OpenFlow10
    # OpenFlow 1.0 Echo Request and Reply message.
    module Echo
      # OpenFlow 1.0 Echo Reply message.
      class Reply < OpenFlow::Message
        open_flow_header version: 1, message_type: 3
        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_flow10/echo/reply.rb
pio-0.29.0 lib/pio/open_flow10/echo/reply.rb
pio-0.28.1 lib/pio/open_flow10/echo/reply.rb
pio-0.28.0 lib/pio/open_flow10/echo/reply.rb
pio-0.27.2 lib/pio/open_flow10/echo/reply.rb