Package buildbot :: Package status :: Module client :: Class StatusClientPerspective
[frames | no frames]

Class StatusClientPerspective

           Avatar --+        
                    |        
   NewCredPerspective --+    
                        |    
       StatusReceiver --+    
                        |    
StatusReceiverPerspective --+
                            |
                           StatusClientPerspective


Method Summary
  __init__(self, status)
  __getstate__(self)
  attached(self, mind)
  builderAdded(self, name, builder)
  builderChangedState(self, name, state)
  builderRemoved(self, name)
  buildETAUpdate(self, build, eta)
  buildFinished(self, name, build, results)
  buildsetSubmitted(self, buildset)
  buildStarted(self, name, build)
  detached(self, mind)
  logChunk(self, build, step, log, channel, text)
  logFinished(self, build, step, log)
  logStarted(self, build, step, log)
  perspective_getBuilder(self, name)
  perspective_getBuilderNames(self)
  perspective_getBuildSets(self)
This returns tuples of (buildset, bsid), because that is much more convenient for tryclient.
  perspective_getSlave(self, name)
  perspective_subscribe(self, mode, interval, target)
The remote client wishes to subscribe to some set of events.
  perspective_unsubscribe(self)
  stepETAUpdate(self, build, step, ETA, expectations)
  stepFinished(self, build, step, results)
  stepStarted(self, build, step)
    Inherited from Avatar
  perspectiveMessageReceived(self, broker, message, args, kw)
This method is called when a network message is received.

Class Variable Summary
NoneType client = None                                                                  
NoneType subscribed = None                                                                  
    Inherited from StatusReceiverPerspective
Implements __implemented__ = <implementedBy buildbot.status.base.St...
ClassProvides __provides__ = <zope.interface.declarations.ClassProvide...
    Inherited from StatusReceiver
ClassProvides __providedBy__ = <zope.interface.declarations.ClassProvi...

Method Details

perspective_getBuildSets(self)

This returns tuples of (buildset, bsid), because that is much more convenient for tryclient.

perspective_subscribe(self, mode, interval, target)

The remote client wishes to subscribe to some set of events. 'target' will be sent remote messages when these events happen. 'mode' indicates which events are desired: it is a string with one of the following values:

'builders': builderAdded, builderRemoved 'builds': those plus builderChangedState, buildStarted, buildFinished 'steps': all those plus buildETAUpdate, stepStarted, stepFinished 'logs': all those plus stepETAUpdate, logStarted, logFinished 'full': all those plus logChunk (with the log contents)

Messages are defined by buildbot.interfaces.IStatusReceiver . 'interval' is used to specify how frequently ETAUpdate messages should be sent.

Raising or lowering the subscription level will take effect starting with the next build or step.

Class Variable Details

client

Type:
NoneType
Value:
None                                                                  

subscribed

Type:
NoneType
Value:
None                                                                  

Generated by Epydoc 2.1 on Sun Dec 10 22:04:44 2006 http://epydoc.sf.net