|
__init__(self,
host,
port,
servercert,
connectionthreadcount=5,
timecheck=60,
connectionidlebreak=240)
Creates the listening thread and infrastructure. |
source code
|
|
|
shutdown(self)
Requests a shutdown of all threads |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
OnLogException(self,
exc)
Process an exception message |
source code
|
|
|
OnNewAccept(self,
clientaddr)
Decide if we accept a new new connection |
source code
|
|
|
OnNewUser(self,
clientaddr,
username,
password)
Decide if a user is allowed to authenticate |
source code
|
|
|
OnConnectionClose(self,
clientaddr)
Called when a connection closes |
source code
|
|
|
OnUserMessage(self,
msg)
Called when a message arrives in the workqueue |
source code
|
|
|
OnXmlRpcRequest(self,
xmldata,
username,
clientaddr)
Called when an XML-RPC request arrives, but before the XML is parsed |
source code
|
|
|
OnMethodDispatch(self,
method,
params,
username,
clientaddr)
Called once the XML-RPC request is parsed |
source code
|
|
Inherited from threading.Thread :
__repr__ ,
getName ,
isAlive ,
isDaemon ,
join ,
setDaemon ,
setName ,
start
Inherited from threading.Thread (private):
_set_daemon
Inherited from threading._Verbose (private):
_note
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|