Searched refs:rpc_controller (Results 1 – 4 of 4) sorted by relevance
/third_party/protobuf/python/compatibility_tests/v2.5.0/tests/google/protobuf/internal/ |
D | service_reflection_test.py | 67 rpc_controller = MockRpcController() 70 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 72 rpc_controller.failure_message) 75 rpc_controller.failure_message = None 78 srvc.CallMethod(service_descriptor.methods[1], rpc_controller, 81 rpc_controller.failure_message) 85 def Foo(self, rpc_controller, request, done): argument 87 def Bar(self, rpc_controller, request, done): argument 91 rpc_controller.failure_message = None 92 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) [all …]
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | service_reflection_test.py | 72 rpc_controller = MockRpcController() 75 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) 77 rpc_controller.failure_message) 80 rpc_controller.failure_message = None 83 srvc.CallMethod(service_descriptor.methods[1], rpc_controller, 90 rpc_controller.failure_message) 94 def Foo(self, rpc_controller, request, done): argument 96 def Bar(self, rpc_controller, request, done): argument 100 rpc_controller.failure_message = None 101 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback) [all …]
|
/third_party/protobuf/python/google/protobuf/ |
D | service_reflection.py | 160 rpc_controller, request, callback): argument 162 rpc_controller, request, callback) 173 rpc_controller, request, callback): argument 187 return method(rpc_controller, request, callback) 231 return lambda inst, rpc_controller, request, callback: ( 232 self._NonImplementedMethod(method.name, rpc_controller, callback)) 234 def _NonImplementedMethod(self, method_name, rpc_controller, callback): argument 242 rpc_controller.SetFailed('Method %s not implemented.' % method_name) 282 return (lambda inst, rpc_controller, request, callback=None: 283 self._StubMethod(inst, method, rpc_controller, request, callback)) [all …]
|
D | service.py | 65 def CallMethod(self, method_descriptor, rpc_controller, argument 219 def CallMethod(self, method_descriptor, rpc_controller, argument
|