Package lib :: Package cuckoo :: Package common :: Module utils :: Class TimeoutServer
[hide private]
[frames] | no frames]

Class TimeoutServer

source code

xmlrpclib.ServerProxy --+
                        |
                       TimeoutServer

Timeout server for XMLRPC. XMLRPC + timeout - still a bit ugly - but at least gets rid of setdefaulttimeout inspired by http://stackoverflow.com/questions/372365/set-timeout-for-xmlrpclib-serverproxy (although their stuff was messy, this is cleaner)


See Also: http://stackoverflow.com/questions/372365/set-timeout-for-xmlrpclib-serverproxy

Instance Methods [hide private]
 
__init__(self, *args, **kwargs) source code
 
_set_timeout(self, timeout) source code

Inherited from xmlrpclib.ServerProxy: __call__, __getattr__, __repr__, __str__

Method Details [hide private]

__init__(self, *args, **kwargs)
(Constructor)

source code 
Overrides: xmlrpclib.ServerProxy.__init__