A helper class for proxy objects to remote APIs.
Bases: object
A helper class for rpc clients.
This class is a wrapper around the RPC client API. It allows you to specify the topic and API version in a single place. This is intended to be used as a base class for a class that implements the client side of an rpc API.
rpc.call() a remote method.
Parameters: |
|
---|---|
Returns: | The return value from the remote method. |
rpc.cast() a remote method.
Parameters: |
|
---|---|
Returns: | None. rpc.cast() does not wait on any return value from the remote method. |
rpc.cast_to_server() a remote method.
Parameters: |
|
---|---|
Returns: | None. rpc.cast_to_server() does not wait on any return values. |
rpc.fanout_cast() a remote method.
Parameters: |
|
---|---|
Returns: | None. rpc.fanout_cast() does not wait on any return value from the remote method. |
rpc.fanout_cast_to_server() a remote method.
Parameters: |
|
---|---|
Returns: | None. rpc.fanout_cast_to_server() does not wait on any return values. |
rpc.multicall() a remote method.
Parameters: |
|
---|---|
Returns: | An iterator that lets you process each of the returned values from the remote method as they arrive. |