Trees | Index | Help |
|
---|
Package bitfling :: Module xmlrpcstuff :: Class Server |
|
object
--+ |_Verbose
--+ |Thread
--+ | Server
Method Summary | |
---|---|
Creates the listening thread and infrastructure. | |
Called when a connection closes | |
Process a log message | |
Process an exception message | |
Called once the XML-RPC request is parsed | |
Decide if we accept a new new connection | |
Decide if a user is allowed to authenticate | |
Called when a message arrives in the workqueue | |
Called when an XML-RPC request arrives, but before the XML is parsed | |
processmessage(self,
msg)
| |
run(self)
| |
run22(self)
| |
run23(self)
| |
Requests a shutdown of all threads | |
Inherited from Thread | |
| |
| |
| |
| |
| |
| |
| |
| |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Class Variable Summary | |
---|---|
type |
ConnectionThread = bitfling.xmlrpcstuff.ConnectionThread |
classobj |
Message = bitfling.xmlrpcstuff.Message |
Method Details |
---|
__init__(self,
host,
port,
servercert,
connectionthreadcount=5,
timecheck=60,
connectionidlebreak=240)
Creates the listening thread and infrastructure. Don't forget to
call start() if you want anything to be processed! You probably also
want to call setDaemon(). Remember to load a certificate into the
sslcontext.
|
OnConnectionClose(self, clientaddr)Called when a connection closes |
OnLog(self, str)Process a log message |
OnLogException(self, exc)Process an exception message |
OnMethodDispatch(self, method, params, username, clientaddr)Called once the XML-RPC request is parsed |
OnNewAccept(self, clientaddr)Decide if we accept a new new connection |
OnNewUser(self, clientaddr, username, password)Decide if a user is allowed to authenticate |
OnUserMessage(self, msg)Called when a message arrives in the workqueue |
OnXmlRpcRequest(self, xmldata, username, clientaddr)Called when an XML-RPC request arrives, but before the XML is parsed |
shutdown(self)Requests a shutdown of all threads |
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Aug 15 18:58:37 2008 | http://epydoc.sf.net |