exiddis::worker::AppHandler::AppHandler Class Reference
List of all members.
Detailed Description
Implement XML_RPC functions for handling requests from applications.
Member Function Documentation
| def exiddis::worker::AppHandler::AppHandler::__init__ |
( |
|
self, |
|
|
|
parent | |
|
) |
| | |
Create new instance of AppHandler class.
Keyword parameters:
parent - reference to parent object (e.g. WorkerServer class instance)
| def exiddis::worker::AppHandler::AppHandler::xmlrpc_getNextById |
( |
|
self, |
|
|
|
seqId, |
|
|
|
amount = 1 | |
|
) |
| | |
Return next value(s) of given sequence.
Keyword parameters:
seqId - sequence id
amount - number of values to be returned (default: 1)
Return:
* 'SEQUENCE_NOT_FOUND' code - if sequence with given id does not exist,
* the same value as Sequences.getNext - otherwise (see docs for Sequences.py for more details).
| def exiddis::worker::AppHandler::AppHandler::xmlrpc_getNextByName |
( |
|
self, |
|
|
|
seqName, |
|
|
|
amount = 1 | |
|
) |
| | |
Return next value(s) of given sequence.
Keyword parameters:
seqName - sequence name
amount - number of values to be returned (default: 1)
Return:
* 'SEQUENCE_NOT_FOUND' code - if sequence with given name does not exist,
* map with 'id' value set to sequence's id and other values set identically as in Sequences.getNext function - if other error (e.g. sequence out of range) occurs,
* map with 'id' value set to sequence's id, 'values' value set to values by Sequences.getNext function and 'code' value set to 'OK' code - otherwise.
The documentation for this class was generated from the following file:
- exiddis/worker/AppHandler.py