Home
last modified time | relevance | path

Searched refs:an_rpc (Results 1 – 11 of 11) sorted by relevance

/third_party/grpc/src/ruby/lib/grpc/generic/
Drpc_server.rb418 def available?(an_rpc) argument
419 return an_rpc if @pool.ready_for_work?
425 c = ActiveCall.new(an_rpc.call, noop, noop, an_rpc.deadline,
433 def implemented?(an_rpc) argument
434 mth = an_rpc.method.to_sym
435 return an_rpc if rpc_descs.key?(mth)
436 GRPC.logger.warn("UNIMPLEMENTED: #{an_rpc}")
441 c = ActiveCall.new(an_rpc.call, noop, noop, an_rpc.deadline,
452 an_rpc = @server.request_call
453 break if (!an_rpc.nil?) && an_rpc.call.nil?
[all …]
/third_party/grpc/src/ruby/spec/generic/
Drpc_server_spec.rb53 def an_rpc(_req, _call) method in FailingService
71 def an_rpc(req, call) method in SlowService
97 def an_rpc(req, _call) method in SynchronizedCancellationService
118 def an_rpc(req, call) method in CheckCallAfterFinishedService
374 n.times { expect(stub.an_rpc(req)).to be_a(EchoMsg) }
386 expect(stub.an_rpc(req, metadata: { k1: 'v1', k2: 'v2' }))
403 resp = stub.an_rpc(req,
448 op = stub.an_rpc(req, return_op: true)
484 q << stub.an_rpc(req)
513 stub.an_rpc(req)
[all …]
Dserver_interceptors_spec.rb41 expect(stub.an_rpc(request)).to be_a(EchoMsg)
55 op = stub.an_rpc(request, client_call_opts)
203 expect(stub.an_rpc(request)).to be_a(EchoMsg)
214 expect(stub.an_rpc(request)).to be_a(EchoMsg)
Dclient_interceptors_spec.rb36 expect(stub.an_rpc(request)).to be_a(EchoMsg)
49 expect(stub.an_rpc(request)).to be_a(EchoMsg)
/third_party/grpc/src/ruby/spec/
Dgoogle_rpc_status_utils_spec.rb127 def an_rpc(_, _) method in GoogleRpcStatusTestService
186 stub.an_rpc(EchoMsg.new)
198 op = stub.an_rpc(EchoMsg.new, return_op: true)
222 def an_rpc(_, _) method in NoStatusDetailsBinTestService
259 stub.an_rpc(EchoMsg.new)
271 op = stub.an_rpc(EchoMsg.new, return_op: true)
Duser_agent_spec.rb22 def an_rpc(_req, call) method in UserAgentEchoService
53 response = stub.an_rpc(EchoMsg.new)
66 response = stub.an_rpc(EchoMsg.new)
Dchannel_connection_spec.rb42 expect(stub.an_rpc(req)).to be_a(EchoMsg)
47 expect(stub.an_rpc(req)).to be_a(EchoMsg)
Dclient_auth_spec.rb55 def an_rpc(req, call) method in SslTestService
110 @stub.an_rpc(EchoMsg.new)
/third_party/grpc/src/ruby/bin/
Dnoproto_client.rb89 resp = stub.an_rpc(NoProtoMsg.new)
Dnoproto_server.rb50 def an_rpc(req, _call) method in NoProto
/third_party/grpc/src/ruby/spec/support/
Dservices.rb50 def an_rpc(req, call) method in EchoService