Package buildbot :: Package process :: Module botmaster :: Class DuplicateSlaveArbitrator
[frames] | no frames]

Class DuplicateSlaveArbitrator

source code

object --+
         |
        DuplicateSlaveArbitrator

Utility class to arbitrate the situation when a new slave connects with the name of an existing, connected slave

Instance Methods
 
__init__(self, slave)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getPerspective(self, mind, slavename) source code
 
ping_new_slave(self) source code
 
ping_old_slave(self, new_peer) source code
 
maybe_done(self) source code
 
start_new_slave(self, count=20) source code
 
disconnect_new_slave(self) source code

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

Class Variables
  PING_TIMEOUT = 10
Timeout for pinging the old slave.
Properties

Inherited from object: __class__

Method Details

__init__(self, slave)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

Class Variable Details

PING_TIMEOUT

Timeout for pinging the old slave. Set this to something quite long, as a very busy slave (e.g., one sending a big log chunk) may take a while to return a ping.

Value:
10