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

require 'grpc'
require 'src/proto/grpc/testing/services'

module Grpc
  module Testing
    module BenchmarkService

      # 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.BenchmarkService'

        rpc :UnaryCall, SimpleRequest, SimpleResponse
        rpc :StreamingCall, stream(SimpleRequest), stream(SimpleResponse)
      end

      Stub = Service.rpc_stub_class
    end
    module WorkerService

      # 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.WorkerService'

        rpc :RunServer, stream(ServerArgs), stream(ServerStatus)
        rpc :RunClient, stream(ClientArgs), stream(ClientStatus)
        rpc :CoreCount, CoreRequest, CoreResponse
        rpc :QuitWorker, Void, Void
      end

      Stub = Service.rpc_stub_class
    end
  end
end
