exiddis::worker::WorkerServer::Server Class Reference

List of all members.

Public Member Functions

def __init__
def readConfig
def addSubHandlers
def run
def verifyMaster
def backupAllSequences

Public Attributes

 masterSender
 loadMeter
 sequences
 backupSequences
 backup
 logger
 masterHost
 masterPort
 port
 muid

Static Public Attributes

list otherWorkers = []


Detailed Description

Main class of Worker server application. Set up and link all modules.

Member Function Documentation

def exiddis::worker::WorkerServer::Server::__init__ (   self,
  config 
)

Create new instance of WorkerServer class and set up modules and links between them.

Keyword parameters:
config - configuration file

def exiddis::worker::WorkerServer::Server::addSubHandlers (   self  ) 

Set up Worker server handlers for external connections.

def exiddis::worker::WorkerServer::Server::backupAllSequences (   self  ) 

Used for backuping sequences. Or rather would be used if worker-to-worker backup was enabled.

def exiddis::worker::WorkerServer::Server::readConfig (   self,
  config 
)

Read configuration file and set up application variables defined there.

Keyword parameters:
config - configuration file

def exiddis::worker::WorkerServer::Server::run (   self  ) 

Start reactor on port defined in configuration file.

def exiddis::worker::WorkerServer::Server::verifyMaster (   self,
  muid 
)

Return true if given id is master's id, false otherwise.


The documentation for this class was generated from the following file:

Generated on Mon Oct 5 18:55:12 2009 for ExIdDis by  doxygen 1.5.8