Package buildbot :: Package slave :: Module bot :: Class Bot
[frames] | no frames]

Class Bot

source code

  twisted.spread.jelly.Jellyable --+        
                                   |        
 twisted.spread.flavors.Serializable --+    
                                       |    
    twisted.spread.flavors.Referenceable --+
                                           |
 twisted.application.service.Service --+   |
                                       |   |
twisted.application.service.MultiService --+
                                           |
                                          Bot

I represent the slave-side bot.

Instance Methods
 
__init__(self, basedir, usePTY, not_really=0, unicode_encoding=None) source code
 
startService(self) source code
 
remote_getDirs(self) source code
 
remote_getCommands(self) source code
 
remote_setBuilderList(self, wanted) source code
 
remote_print(self, message) source code
 
remote_getSlaveInfo(self)
This command retrieves data from the files in SLAVEDIR/info/* and sends the contents to the buildmaster.
source code
 
remote_getVersion(self)
Send our version back to the Master
source code

Inherited from twisted.spread.flavors.Referenceable: jellyFor, remoteMessageReceived

Inherited from twisted.spread.flavors.Serializable: processUniqueID

Inherited from twisted.spread.jelly.Jellyable: __providedBy__, getStateFor

Inherited from twisted.application.service.MultiService: __iter__, addService, getServiceNamed, privilegedStartService, removeService, stopService

Inherited from twisted.application.service.Service: __getstate__, disownServiceParent, setName, setServiceParent

Class Variables
  usePTY = None
  name = 'bot'

Inherited from twisted.spread.flavors.Referenceable: __implemented__, __provides__, perspective

Inherited from twisted.application.service.Service: parent, running

Method Details

__init__(self, basedir, usePTY, not_really=0, unicode_encoding=None)
(Constructor)

source code 
Overrides: twisted.application.service.MultiService.__init__

startService(self)

source code 
Overrides: twisted.application.service.Service.startService

remote_getSlaveInfo(self)

source code 

This command retrieves data from the files in SLAVEDIR/info/* and sends the contents to the buildmaster. These are used to describe the slave and its configuration, and should be created and maintained by the slave administrator. They will be retrieved each time the master-slave connection is established.