Sha256: f632a473b3d13ce38b29779fe54df6838cc625949e8fc7daa4f10f485f7f1cad

Contents?: true

Size: 341 Bytes

Versions: 5

Compression:

Stored size: 341 Bytes

Contents

require 'pio/open_flow/message'

module Pio
  module OpenFlow13
    module Echo
      # OpenFlow 1.3 Echo Reply message.
      class Reply < OpenFlow::Message
        open_flow_header version: 4, 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_flow13/echo/reply.rb
pio-0.29.0 lib/pio/open_flow13/echo/reply.rb
pio-0.28.1 lib/pio/open_flow13/echo/reply.rb
pio-0.28.0 lib/pio/open_flow13/echo/reply.rb
pio-0.27.2 lib/pio/open_flow13/echo/reply.rb