Trees | Indices | Help |
|
---|
|
config.ReconfigurableServiceMixin --+ | twisted.spread.pb.Avatar --+ | twisted.application.service.Service --+ | | | twisted.application.service.MultiService --+ | AbstractBuildSlave --+ | AbstractLatentBuildSlave
A build slave that will start up a slave instance when needed.
To use, subclass and implement start_instance and stop_instance.
See ec2buildslave.py for a concrete example. Also see the stub example in test/test_slaves.py.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from Inherited from |
Class Variables | |
substantiated = False
|
|
substantiation_deferred = None hash(x) |
|
substantiation_build = None hash(x) |
|
build_wait_timer = None hash(x) |
|
__implemented__ = <implementedBy buildbot.buildslave.AbstractL
|
|
Inherited from Inherited from |
Method Details |
|
This is called when the slave connects.
|
|
This is called when a build on this slave is finished.
|
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.
|
|
Called to add or remove builders after the slave has connected. Also called after botmaster's builders are initially set.
|
|
Special descriptor for class __provides__ The descriptor caches the implementedBy info, so that we can get declarations for objects without instance-specific interfaces a bit quicker. For example: >>> from zope.interface import Interface >>> class IFooFactory(Interface): ... pass >>> class IFoo(Interface): ... pass >>> class C(object): ... implements(IFoo) ... classProvides(IFooFactory) >>> [i.getName() for i in C.__provides__] ['IFooFactory'] >>> [i.getName() for i in C().__provides__] ['IFoo']
|
Class Variable Details |
__implemented__
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Mar 25 19:40:32 2012 | http://epydoc.sourceforge.net |