Sha256: 921be99ea027a22fca40e9fd786716e37b60e4a5f055e182b7235836274f6c2e

Contents?: true

Size: 1.79 KB

Versions: 52

Compression:

Stored size: 1.79 KB

Contents

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# Source: test/proto/test.proto for package 'grpc.testing'

require 'grpc'
require 'test/proto/test'

module Grpc
  module Testing
    module TestService

      # TODO: add proto service documentation here
      class Service

        include GRPC::GenericService

        self.marshal_class_method = :encode
        self.unmarshal_class_method = :decode
        self.service_name = 'grpc.testing.TestService'

        rpc :EmptyCall, Empty, Empty
        rpc :UnaryCall, SimpleRequest, SimpleResponse
        rpc :StreamingOutputCall, StreamingOutputCallRequest, stream(StreamingOutputCallResponse)
        rpc :StreamingInputCall, stream(StreamingInputCallRequest), StreamingInputCallResponse
        rpc :FullDuplexCall, stream(StreamingOutputCallRequest), stream(StreamingOutputCallResponse)
        rpc :HalfDuplexCall, stream(StreamingOutputCallRequest), stream(StreamingOutputCallResponse)
      end

      Stub = Service.rpc_stub_class
    end
    module UnimplementedService

      # TODO: add proto service documentation here
      class Service

        include GRPC::GenericService

        self.marshal_class_method = :encode
        self.unmarshal_class_method = :decode
        self.service_name = 'grpc.testing.UnimplementedService'

        rpc :UnimplementedCall, Empty, Empty
      end

      Stub = Service.rpc_stub_class
    end
    module ReconnectService

      # TODO: add proto service documentation here
      class Service

        include GRPC::GenericService

        self.marshal_class_method = :encode
        self.unmarshal_class_method = :decode
        self.service_name = 'grpc.testing.ReconnectService'

        rpc :Start, Empty, Empty
        rpc :Stop, Empty, ReconnectInfo
      end

      Stub = Service.rpc_stub_class
    end
  end
end

Version data entries

52 entries across 52 versions & 2 rubygems

Version Path
grpc-1.0.0.pre1-x86-mingw32 src/ruby/pb/test/proto/test_services.rb
grpc-1.0.0.pre1-x86-linux src/ruby/pb/test/proto/test_services.rb
grpc-1.0.0.pre1-x86_64-linux src/ruby/pb/test/proto/test_services.rb
grpc-1.0.0.pre1-x64-mingw32 src/ruby/pb/test/proto/test_services.rb
grpc-1.0.0.pre1-universal-darwin src/ruby/pb/test/proto/test_services.rb
grpc-1.0.0.pre1 src/ruby/pb/test/proto/test_services.rb
grpc-0.15.0-x86-mingw32 src/ruby/pb/test/proto/test_services.rb
grpc-0.15.0-x86-linux src/ruby/pb/test/proto/test_services.rb
grpc-0.15.0-x86_64-linux src/ruby/pb/test/proto/test_services.rb
grpc-0.15.0-x64-mingw32 src/ruby/pb/test/proto/test_services.rb
grpc-0.15.0-universal-darwin src/ruby/pb/test/proto/test_services.rb
grpc-0.15.0 src/ruby/pb/test/proto/test_services.rb
grpc-0.14.1-x86-mingw32 src/ruby/pb/test/proto/test_services.rb
grpc-0.14.1-x86-linux src/ruby/pb/test/proto/test_services.rb
grpc-0.14.1-x86_64-linux src/ruby/pb/test/proto/test_services.rb
grpc-0.14.1-x64-mingw32 src/ruby/pb/test/proto/test_services.rb
grpc-0.14.1-universal-darwin src/ruby/pb/test/proto/test_services.rb
grpc-0.14.1 src/ruby/pb/test/proto/test_services.rb
grpc-0.14.1.pre1-x86-mingw32 src/ruby/pb/test/proto/test_services.rb
grpc-0.14.1.pre1-x86-linux src/ruby/pb/test/proto/test_services.rb