PyFoam.Infrastructure.ServerBase module¶
Basis for the XMLRPC-Servers in PyFoam
Based on 15.5 in “Python Cookbook” for faster restarting
SSL-handling lifted from http://blogs.blumetech.com/blumetechs-tech-blog/2011/06/python-xmlrpc-server-with-ssl-and-authentication.html
-
class
PyFoam.Infrastructure.ServerBase.ServerBase(addr, useSSL=False, logRequests=False, allow_none=False, encoding=None)[source]¶ Bases:
SimpleXMLRPCServer.SimpleXMLRPCServerThe Base class for the servers
-
__init__(addr, useSSL=False, logRequests=False, allow_none=False, encoding=None)[source]¶ Parameters: - addr – the (server address,port)-tuple)
- logRequests – patched thru to the base class
-
__module__= 'PyFoam.Infrastructure.ServerBase'¶
-