A generic handler to plugin testing server methods on the fly.
Definition at line 107 of file tests/tests_aio/unit/_common.py.
◆ __init__()
def tests_aio.unit._common.AdhocGenericHandler.__init__ |
( |
|
self | ) |
|
◆ service()
def tests_aio.unit._common.AdhocGenericHandler.service |
( |
|
self, |
|
|
|
handler_call_details |
|
) |
| |
Returns the handler for servicing the RPC.
Args:
handler_call_details: A HandlerCallDetails describing the RPC.
Returns:
An RpcMethodHandler with which the RPC may be serviced if the
implementation chooses to service this RPC, or None otherwise.
Reimplemented from grpc.GenericRpcHandler.
Definition at line 117 of file tests/tests_aio/unit/_common.py.
◆ set_adhoc_handler()
◆ _handler
tests_aio.unit._common.AdhocGenericHandler._handler |
|
private |
The documentation for this class was generated from the following file: