Sha256: 51147e3d4b5725711ce4b609d21d9c51a22756e5ff6f2720900028d6a5469185
Contents?: true
Size: 698 Bytes
Versions: 1
Compression:
Stored size: 698 Bytes
Contents
# frozen_string_literal: true require 'pio/open_flow/error_message' require 'pio/open_flow/message' require 'pio/open_flow10/error/bad_request/bad_request_code' require 'pio/open_flow10/error/error_type10' module Pio module OpenFlow10 module Error # Bad request error. class BadRequest < OpenFlow::Message open_flow_header version: 1, type: OpenFlow::ErrorMessage.type, length: -> { header_length + 4 + raw_data.length } error_type10 :error_type, value: -> { :bad_request } bad_request_code :error_code string :raw_data, read_length: -> { length - header_length - 4 } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pio-0.30.2 | lib/pio/open_flow10/error/bad_request.rb |