Home | Trees | Indices | Help |
|
---|
|
twisted.spread.pb.Avatar --+ | pbutil.NewCredPerspective --+ | twisted.application.service.Service --+ | | | twisted.application.service.MultiService --+ | AbstractBuildSlave
This is the master-side representative for a remote buildbot slave. There is exactly one for each slave described in the config file (the c['slaves'] list). When buildbots connect in (.attach), they get a reference to this instance. The BotMaster object is stashed as the .botmaster attribute. The BotMaster is also our '.parent' Service.
I represent a build slave -- a remote machine capable of running builds. I am instantiated by the configuration file, and can be subclassed to add extra functionality.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from |
Class Variables | |
__implemented__ = <implementedBy buildbot.buildslave.AbstractB
|
|
__provides__ = <zope.interface.declarations.ClassProvides obje
|
|
Inherited from |
Method Details |
|
Given a new BuildSlave, configure this one identically. Because BuildSlave objects are remotely referenced, we can't replace them without disconnecting the slave, yet there's no reason to do that. |
Called to add or remove builders after the slave has connected.
|
This is called when the slave connects.
|
|
Forcibly disconnect the slave. This severs the TCP connection and returns a Deferred that will fire (with None) when the connection is probably gone. If the slave is still alive, they will probably try to reconnect again in a moment. This is called in two circumstances. The first is when a slave is removed from the config file. In this case, when they try to reconnect, they will be rejected as an unknown slave. The second is when we wind up with two connections for the same slave, in which case we disconnect the older connection. |
I am called when a build is requested to see if this buildslave can start a build. This function can be used to limit overall concurrency on the buildslave. |
Class Variable Details |
__implemented__
|
__provides__
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 25 17:52:18 2010 | http://epydoc.sourceforge.net |