Package buildbot :: Package process :: Module builder :: Class SlaveBuilder
[frames | no frames]

Class SlaveBuilder

Jellyable --+        
            |        
 Serializable --+    
                |    
    Referenceable --+
                    |
                   SlaveBuilder


I am the master-side representative for one of the buildbot.slave.bot.SlaveBuilder objects that lives in a remote buildbot. When a remote builder connects, I query it for command versions and then make it available to any Builds that are ready to run.
Method Summary
  __init__(self)
  __repr__(self)
  attached(self, slave, remote, commands)
  buildFinished(self)
  buildStarted(self)
  detached(self)
  getSlaveCommandVersion(self, command, oldversion)
  isAvailable(self)
  isBusy(self)
  ping(self, timeout, status)
Ping the slave to make sure it is still there.
  setBuilder(self, b)
    Inherited from Referenceable
  jellyFor(self, jellier)
(internal)
  remoteMessageReceived(self, broker, message, args, kw)
A remote message has been received.
    Inherited from Serializable
  processUniqueID(self)
Return an ID which uniquely represents this object for this process.
    Inherited from Jellyable
  getStateFor(self, jellier)

Class Variable Summary
    Inherited from Referenceable
Implements __implemented__ = <implementedBy twisted.spread.flavors....
_implementsTuple __implements__ = (<MetaInterface twisted.spread.interfac...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
NoneType perspective = None                                                                  
    Inherited from Jellyable
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

attached(self, slave, remote, commands)

Parameters:
slave - the BuildSlave that represents the buildslave as a whole
           (type=buildbot.buildslave.BuildSlave)
remote - a reference to the buildbot.slave.bot.SlaveBuilder
           (type=twisted.spread.pb.RemoteReference)
commands - provides the slave's version of each RemoteCommand
           (type=dict: string -> string, or None)

ping(self, timeout, status=None)

Ping the slave to make sure it is still there. Returns a Deferred that fires with True if it is.
Parameters:
status - if you point this at a BuilderStatus, a 'pinging' event will be pushed.

Generated by Epydoc 2.1 on Tue Sep 16 09:16:01 2008 http://epydoc.sf.net