Sha256: 7f7f78346f6a41c6ccb5b895e8e0e69b7bbb63a4448d48bf72d0f0d1b844f959

Contents?: true

Size: 1.1 KB

Versions: 25

Compression:

Stored size: 1.1 KB

Contents

# encoding: utf-8

##
# This file is auto-generated. DO NOT EDIT!
#
require 'protobuf/message'

module Protobuf
  module Socketrpc

    ##
    # Enum Classes
    #
    class ErrorReason < ::Protobuf::Enum
      define :BAD_REQUEST_DATA, 0
      define :BAD_REQUEST_PROTO, 1
      define :SERVICE_NOT_FOUND, 2
      define :METHOD_NOT_FOUND, 3
      define :RPC_ERROR, 4
      define :RPC_FAILED, 5
      define :INVALID_REQUEST_PROTO, 6
      define :BAD_RESPONSE_PROTO, 7
      define :UNKNOWN_HOST, 8
      define :IO_ERROR, 9
    end


    ##
    # Message Classes
    #
    class Request < ::Protobuf::Message; end
    class Response < ::Protobuf::Message; end


    ##
    # Message Fields
    #
    class Request
      required :string, :service_name, 1
      required :string, :method_name, 2
      optional :bytes, :request_proto, 3
      optional :string, :caller, 4
    end

    class Response
      optional :bytes, :response_proto, 1
      optional :string, :error, 2
      optional :bool, :callback, 3, :default => false
      optional ::Protobuf::Socketrpc::ErrorReason, :error_reason, 4
    end

  end

end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
protobuf-3.6.12 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.6.11 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.6.10 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.7.0.pre2 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.6.9 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.7.0.pre1 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.7.0.pre0 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.6.7 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.6.6 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.6.2 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.6.1 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.6.0 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.5.5 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.5.4 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.5.3 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.5.2 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.5.1 lib/protobuf/rpc/rpc.pb.rb
prepor-protobuf-3.5.1 lib/protobuf/rpc/rpc.pb.rb
prepor-protobuf-3.5.0 lib/protobuf/rpc/rpc.pb.rb
protobuf-3.5.0 lib/protobuf/rpc/rpc.pb.rb