Home
last modified time | relevance | path

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

/external/grpc-grpc/src/ruby/lib/grpc/generic/
Dservice.rb92 fail(DuplicateRpcName, name) if rpc_descs.key? name
95 rpc_descs[name] = RpcDesc.new(name, input, output,
107 subclass.rpc_descs.merge!(rpc_descs)
141 def rpc_descs method
148 descs = rpc_descs
Drpc_server.rb346 fail 'cannot run without registering services' if rpc_descs.size.zero?
375 return an_rpc if rpc_descs.key?(mth)
399 rpc_descs[mth].run_server_method(
442 rpc_desc = rpc_descs[an_rpc.method.to_sym]
457 def rpc_descs method in GRPC.RpcServer
470 cls.rpc_descs.size.zero?
477 cls.rpc_descs.each_pair do |name, spec|
/external/grpc-grpc/src/ruby/spec/generic/
Dservice_spec.rb75 expect(c.rpc_descs).to include(:AnRpc)
76 expect(c.rpc_descs[:AnRpc]).to be_a(GRPC::RpcDesc)
86 expect(c.rpc_descs).to include(:AnRpc)
87 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) }