Package funkload :: Module Monitor :: Class MonitorServer
[show private | hide private]
[frames | no frames]

Class MonitorServer

XmlRpcBaseServer --+
                   |
                  MonitorServer


The XML RPC monitor server.
Method Summary
  __init__(self, argv)
  getResult(self, key)
Return stats for key.
  getXmlResult(self, key)
Return result as xml.
  startRecord(self, key)
Start to monitor if it is the first key.
  stopRecord(self, key)
Stop to monitor if it is the last key.
  test(self)
auto test.
    Inherited from XmlRpcBaseServer
  __call__(self)
main server loop.
  getStatus(self)
Return a status.
  initServer(self)
init the XMLR/PC Server.
  log(self, message)
Log information.
  logd(self, message)
Debug log.
  parseArgs(self, argv)
Parse programs args.
  run(self)
main server loop.
  stopServer(self)
Stop the server.

Class Variable Summary
list method_names = ['stopServer', 'getStatus', 'startRecord'...
str server_name = 'monitor'
    Inherited from XmlRpcBaseServer
str usage = '%prog [options] config_file\n\nStart %prog XML/...

Method Details

getResult(self, key)

Return stats for key.

getXmlResult(self, key)

Return result as xml.

startRecord(self, key)

Start to monitor if it is the first key.

stopRecord(self, key)

Stop to monitor if it is the last key.

test(self)

auto test.

Class Variable Details

method_names

Type:
list
Value:
['stopServer',
 'getStatus',
 'startRecord',
 'stopRecord',
 'getResult',
 'getXmlResult']                                                       

server_name

Type:
str
Value:
'monitor'                                                              

Generated by Epydoc 2.1 on Tue Feb 27 10:41:43 2007 http://epydoc.sf.net