Searched refs:rpc_descs (Results 1 – 4 of 4) sorted by relevance
92 fail(DuplicateRpcName, name) if rpc_descs.key? name95 rpc_descs[name] = RpcDesc.new(name, input, output,107 subclass.rpc_descs.merge!(rpc_descs)141 def rpc_descs method148 descs = rpc_descs
346 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.RpcServer470 cls.rpc_descs.size.zero?477 cls.rpc_descs.each_pair do |name, spec|
75 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)
298 let(:marshal) { EchoService.rpc_descs[:an_rpc].marshal_proc }299 let(:unmarshal) { EchoService.rpc_descs[:an_rpc].unmarshal_proc(:output) }