Home
last modified time | relevance | path

Searched defs:PendingRpc (Results 1 – 2 of 2) sorted by relevance

/external/pigweed/pw_rpc/py/pw_rpc/
Dclient.py36 class PendingRpc(NamedTuple): class
58 rpc: PendingRpc,
70 rpc: PendingRpc,
82 rpc: PendingRpc,
101 def cancel(self, rpc: PendingRpc) -> Optional[bytes]:
118 def send_cancel(self, rpc: PendingRpc) -> bool:
130 def get_pending(self, rpc: PendingRpc, status: Optional[Status]):
159 rpc: PendingRpc,
176 rpc: PendingRpc,
193 rpc: PendingRpc,
[all …]
Dcallback_client.py79 def _default_response(rpc: PendingRpc, response: Any) -> None:
83 def _default_completion(rpc: PendingRpc, status: Status) -> None:
87 def _default_error(rpc: PendingRpc, status: Status) -> None:
155 def __init__(self, rpc: PendingRpc, timeout: Optional[float]):
163 def __init__(self, rpc: PendingRpc, status: Status):
179 def __init__(self, rpcs: PendingRpcs, rpc: PendingRpc):
300 def __init__(self, rpc: PendingRpc):
307 def on_response(self, _: PendingRpc, response: Any) -> None:
310 def on_completion(self, _: PendingRpc, status: Status) -> None:
314 def on_error(self, _: PendingRpc, status: Status) -> None:
[all …]