Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.network.server Namespace Reference

Classes

class  Error
 
class  VerifiedSecureServer
 
class  UnverifiedSecureServer
 

Functions

def serveVerifiedHTTPS
 
def serveUnverifiedHTTPS
 
def serverLoop
 
def shutdownServer
 
def runServer
 
def JobList
 

Variables

string server_workdir = "/"
 
int server_maxfd = 1024
 
 debug = False
 
tuple log = logging.getLogger('cpc.server')
 

Function Documentation

def cpc.network.server.JobList ( )
def cpc.network.server.runServer (   logLevel = None,
  doFork = True 
)
    Starts the server process
    logLevel  prod|debug|trace   Determines the log level
    doFork                       Forks and detaches the process and runs\
                                 it as a daemon
def cpc.network.server.serverLoop (   conf,
  serverState 
)
The main loop of the server process.
def cpc.network.server.serveUnverifiedHTTPS (   serverState)
def cpc.network.server.serveVerifiedHTTPS (   serverState)
def cpc.network.server.shutdownServer (   self)

Variable Documentation

cpc.network.server.debug = False
tuple cpc.network.server.log = logging.getLogger('cpc.server')
int cpc.network.server.server_maxfd = 1024
string cpc.network.server.server_workdir = "/"