|
|
|
|
|
initServer(*args,
**kwargs)
Initilize services and factories just afer the service has started
and reactor created. |
source code
|
|
|
|
|
listenForClients(self)
Starts listening for the clients on the application server. |
source code
|
|
|
listenForJSONRPCClients(self)
Starts listening for the JSON-RPC clients on the application server. |
source code
|
|
|
listenForServers(self)
Starts listening for the clients on the application server. |
source code
|
|
|
|
|
|
|
startPingTask(self)
Starts the task that periodically pings the master and disconnects
upon failed reply. |
source code
|
|
|
stopPingTask(self)
Stops the task that periodically pings the master and disconnects
upon failed reply. |
source code
|
|
|
isPingTaskRunning(self)
Returns True if the ping task is running, False otherwise. |
source code
|
|
|
|
|
|
|
reassignTask(*args,
**kwargs)
Reassigns the task to any available server, this method only works on
Master |
source code
|
|
|
run(*args,
**kwargs)
Runs a job on one of the process workers. |
source code
|
|
|
sendClientRequest(self,
reqID,
mmapFileName)
Invoked by the worker service to signal parent server process to send
the client request for a specific run. |
source code
|
|
|
initSendMsg(*args,
**kwargs)
Called by the worker to inform server about a incoming message to be
transferred to other clients connected to a specific domain. |
source code
|
|
|
resultReady(self,
reqID,
mmapFileName)
Invoked by the worker service to signal parent server process about
the availability of the result of a specific call. |
source code
|
|
|
runFailed(self,
failureOrNone,
reqID,
mmapFileName)
Invoked by the worker service to signal parent server process about
the error of a specific call. |
source code
|
|
|
|
|
sendMsg(*args,
**kwargs)
Used by clients to send messages to other clients connected to the
same domain. |
source code
|
|
|
|
|
|
|
|
|
|
|
workerPoolManager(self)
Returns the worker pool manager |
source code
|
|
string
|
|
ServerConf
|
|
|
|
DomainManager
|
|
ServerCodeManager
|
|
DBManager
|
|
Server
|
|
|
|
Services
|
|
|
setMasterServerServices(self,
masterServerServices)
Sets the configuration of the application server. |
source code
|
|
ServerPerspective
|
|
|
setMasterServerPerspective(self,
masterServerPerspective)
Sets the configuration of the application server. |
source code
|
|
|
isMaster(self)
Returns if the server is master. |
source code
|
|
|
slaveServers(self)
Returns the list of connted slave servers. |
source code
|
|
|
slaveServerConnected(self,
mind)
A Slave server is connected. |
source code
|
|
|
slaveServerDisconnected(self,
mind)
A Slave server is connected. |
source code
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
Inherited from twisted.application.service.Service :
__getstate__ ,
__providedBy__ ,
disownServiceParent ,
privilegedStartService ,
setName ,
setServiceParent
|