Module serverconf :: Class ServerConf
[hide private]
[frames] | no frames]

Class ServerConf

source code


The configuration of the application server.

Instance Methods [hide private]
 
__init__(self, server)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
load(self)
Reload the configuration from the conf file
source code
 
server(self)
Returns the application server.
source code
 
serverList(self)
Returns the application server list.
source code
 
name(self)
Returns the name of the server
source code
 
setName(self, name)
Sets the name of the server
source code
 
numberOfWorkers(self)
Returns the number of workers
source code
 
setNumberOfWorkers(self, workers)
Sets the number of workers
source code
 
password(self)
Returns the password of the server to connect to the master server
source code
 
setPassword(self, password)
Sets the password of the server to connect to the master server
source code
 
isMaster(self)
Returns if the server is master.
source code
 
setIsMaster(self, isMaster)
Sets is the server is master
source code
 
masterAddress(self)
Returns the master server address
source code
 
setMasterAddress(self, masterAddress)
Sets is the server is master
source code
 
masterListeningPort(self)
Returns the master server listening port
source code
 
setMasterListeningPort(self, masterListeningPort)
Sets is the server is master
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, server)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)