Sha256: 81feb480c02d6a54db2e12ca5ea1acdc0ef0b5d2cd64454ca89f9d5be31708b5

Contents?: true

Size: 346 Bytes

Versions: 1

Compression:

Stored size: 346 Bytes

Contents

# frozen_string_literal: true

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, type: 3
        string :body, read_length: -> { length - 8 }

        alias user_data body
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.2 lib/pio/open_flow13/echo/reply.rb