| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
JSONService.JSONService --+
|
JSONService.JSONProxy --+
|
PyjamasExternalProxy
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
|||
|
|||
singleton = None
|
|||
|
|||
|
Inherited from |
|||
|
|||
Create a JSON remote service object. The url is the URL that will
receive POST data with the JSON request. See the JSON-RPC spec for
more information.
The handler object should implement
onRemoteResponse(value, requestInfo)
to accept the return value of the remote method, and
onRemoteError(code, error_dict, requestInfo)
code = http-code or 0
error_dict is an jsonrpc 2.0 error dict:
{
'code': jsonrpc-error-code (integer) ,
'message': jsonrpc-error-message (string) ,
'data' : extra-error-data
}
to handle errors.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Jun 16 12:42:26 2010 | http://epydoc.sourceforge.net |