Module bjsonrpc.proxies
This module contains only one Proxy, and it is intended for internal use.
Generally you should access to proxies using Connections and RemoteObject
classes.
-
class bjsonrpc.proxies.Proxy(conn, sync_type, obj=None)
Object that forwards calls to the remote.
This class is intended to be instantiated from Connection class.
Parameters:
- conn
- Connection object to forward calls.
- sync_type
- synchronization type. 0-synchronous. 1-asynchronous. 2-notification.
- obj = None
- optional. Object name to call their functions, (used to proxy
functions of RemoteObject)