Home
last modified time | relevance | path

Searched refs:rpc_descs (Results 1 – 5 of 5) sorted by relevance

/third_party/grpc/src/ruby/lib/grpc/generic/
Dservice.rb93 fail(DuplicateRpcName, name) if rpc_descs.key? name
96 rpc_descs[name] = RpcDesc.new(name, input, output,
108 subclass.rpc_descs.merge!(rpc_descs)
142 def rpc_descs method
149 descs = rpc_descs
Drpc_server.rb353 fail 'cannot run without registering services' if rpc_descs.size.zero?
435 return an_rpc if rpc_descs.key?(mth)
459 rpc_descs[mth].run_server_method(
502 rpc_desc = rpc_descs[an_rpc.method.to_sym]
517 def rpc_descs method in GRPC.RpcServer
530 cls.rpc_descs.size.zero?
537 cls.rpc_descs.each_pair do |name, spec|
/third_party/grpc/src/ruby/spec/generic/
Dservice_spec.rb77 expect(c.rpc_descs).to include(:AnRpc)
78 expect(c.rpc_descs[:AnRpc]).to be_a(GRPC::RpcDesc)
88 expect(c.rpc_descs).to include(:AnRpc)
89 expect(c.rpc_descs[:AnRpc]).to be_a(GRPC::RpcDesc)
Drpc_server_spec.rb298 let(:marshal) { EchoService.rpc_descs[:an_rpc].marshal_proc }
299 let(:unmarshal) { EchoService.rpc_descs[:an_rpc].unmarshal_proc(:output) }
/third_party/grpc/src/ruby/spec/pb/codegen/
Dpackage_option_spec.rb38 services = RPC::Test::New::Package::Options::AnotherTestService::Service.rpc_descs