Home
last modified time | relevance | path

Searched refs:rpc_controller (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/python/google/protobuf/internal/
Dservice_reflection_test.py72 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,
86 rpc_controller.failure_message)
90 def Foo(self, rpc_controller, request, done): argument
92 def Bar(self, rpc_controller, request, done): argument
96 rpc_controller.failure_message = None
97 srvc.Foo(rpc_controller, unittest_pb2.FooRequest(), MyCallback)
[all …]
/external/protobuf/python/google/protobuf/
Dservice_reflection.py144 rpc_controller, request, callback): argument
146 rpc_controller, request, callback)
157 rpc_controller, request, callback): argument
171 return method(rpc_controller, request, callback)
215 return lambda inst, rpc_controller, request, callback: (
216 self._NonImplementedMethod(method.name, rpc_controller, callback))
218 def _NonImplementedMethod(self, method_name, rpc_controller, callback): argument
226 rpc_controller.SetFailed('Method %s not implemented.' % method_name)
266 return (lambda inst, rpc_controller, request, callback=None:
267 self._StubMethod(inst, method, rpc_controller, request, callback))
[all …]
Dservice.py65 def CallMethod(self, method_descriptor, rpc_controller, argument
217 def CallMethod(self, method_descriptor, rpc_controller, argument