SAFplus Runtime Director API  3.0.5
httpserverexample Namespace Reference

Classes

class  MyHandler
 

Functions

def reloadDb
 

Variables

int HTTP_PORT = 8000
 
 ci = clusterinfo.ci
 
tuple amf = aspAmf.Session()
 
tuple appDb = aspApp.AppDb(os.getenv("ASP_DIR","/tmp") + "/apps")
 
tuple umgr = upgrade.UpgradeMgr()
 
tuple refreshThread = threading.Thread(None,reloadDb,"clusterinfo_refresh")
 
tuple httpserver = BaseHTTPServer.HTTPServer(("",HTTP_PORT),MyHandler)
 

Function Documentation

def httpserverexample.reloadDb ( )

Variable Documentation

tuple httpserverexample.amf = aspAmf.Session()
tuple httpserverexample.appDb = aspApp.AppDb(os.getenv("ASP_DIR","/tmp") + "/apps")
httpserverexample.ci = clusterinfo.ci
int httpserverexample.HTTP_PORT = 8000
tuple httpserverexample.httpserver = BaseHTTPServer.HTTPServer(("",HTTP_PORT),MyHandler)
tuple httpserverexample.refreshThread = threading.Thread(None,reloadDb,"clusterinfo_refresh")
tuple httpserverexample.umgr = upgrade.UpgradeMgr()