Skip to content
__init__.py 741 B
Newer Older

'''

The **core** package contains all classes used by both client mode and server
mode.

This packages export following function/classes:

 * :class:`RpcConnection` which handle the connection to the peer.
 * :class:`RpcCaller`, :class:`ThreadedRpcCaller`: which are used internally
   by rpc protocol to execute handlers' functions.
 * :class:`RpcError` which is the exception raised by rpc to wrap remote-side
   exceptions.
 * :class:`AsyncWatcher` which allow to make asynchronous calls.

'''
Antoine Millet's avatar
Antoine Millet committed

from sjrpc.core.rpcconnection import *
from sjrpc.core.callers import *
from sjrpc.core.exceptions import *
Antoine Millet's avatar
Antoine Millet committed

__all__ = ('RpcConnection', 'RpcCaller', 'ThreadedRpcCaller', 'RpcError',
           'AsyncWatcher')