Package expedient :: Package common :: Package rpc4django :: Module rpcdispatcher
[hide private]
[frames] | no frames]

Module rpcdispatcher

source code


RPC Dispatcher
--------------

This module contains the classes necessary to handle both
`jsonrpc <http://json-rpc.org/>`_ and 
`xmlrpc <http://www.xmlrpc.com/>`_ requests. 
It also contains a decorator to mark methods as rpc methods.

Classes [hide private]
  RPCMethod
A method available via the rpc dispatcher
  RPCDispatcher
Dispatches method calls to either the xmlrpc or jsonrpc dispatcher
Functions [hide private]
 
rpcmethod(**kwargs)
Accepts keyword based arguments that describe the method's rpc aspects
source code
Variables [hide private]
  APPLICATION_ERROR = -32500
  __package__ = 'expedient.common.rpc4django'
Function Details [hide private]

rpcmethod(**kwargs)

source code 

Accepts keyword based arguments that describe the method's rpc aspects

EXAMPLES: @rpcmethod() @rpcmethod(name='myns.myFuncName', signature=['int','int']) @rpcmethod(permission='add_group', url_name="my_url_name")