prpc.CallContext¶
-
class
prpc.call_context.
CallContext
(call, connection, locator)¶ Context object passsed to each RPC call.
Note
Should not be instantiated directly.
Connection
will create instances as neeeded.-
method
¶ Get method name that was used in the call.
-
args
¶ Get call positional arguments.
-
kwargs
¶ Get call keyword arguments.
-
connection
¶ Connection
responsible for the call.
-
locator
¶ Get the method locator instance used to resolve the method.
See
prpc.method_locator
for more details.
-
loop
¶ Return the asyncio event loop instance used in current connection.
-