Sha256: 984b6c764472a576f0b2db4870f0f4cde950ebca2a08cee3cf5e03ec0c9143e3

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true

require 'pio/open_flow/error_message'
require 'pio/open_flow13/error/bad_request'
require 'pio/open_flow13/error/error_type13'
require 'pio/open_flow13/error/hello_failed'

module Pio
  module OpenFlow13
    # Error message parser
    module Error
      mattr_reader(:type) { 1 }

      extend OpenFlow::ErrorMessage

      # Error message body parser.
      class BodyParser < BinData::Record
        endian :big
        error_type13 :error_type
        uint16 :error_code
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pio-0.30.2 lib/pio/open_flow13/error.rb