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

Class StatusClientPerspective

source code

            base.StatusReceiverBase --+        
                                      |        
twisted.application.service.Service --+        
                                      |        
               util.ComparableMixin --+        
                                      |        
             base.StatusReceiverService --+    
                                          |    
           twisted.spread.pb.Avatar --+   |    
                                      |   |    
              pbutil.NewCredPerspective --+    
                                          |    
             base.StatusReceiverPerspective --+
                                              |
                                             StatusClientPerspective

Instance Methods
 
__init__(self, status) source code
 
__getstate__(self) source code
 
attached(self, mind) source code
 
detached(self, mind) source code
 
perspective_subscribe(self, mode, interval, target)
The remote client wishes to subscribe to some set of events.
source code
 
perspective_unsubscribe(self) source code
 
perspective_getBuildSets(self)
This returns tuples of (buildset, bsid), because that is much more convenient for tryclient.
source code
 
perspective_getBuilderNames(self) source code
 
perspective_getBuilder(self, name) source code
 
perspective_getSlave(self, name) source code
 
perspective_ping(self)
Ping method to allow pb clients to validate their connections.
source code
 
builderAdded(self, name, builder) source code
 
builderChangedState(self, name, state) source code
 
builderRemoved(self, name) source code
 
buildsetSubmitted(self, buildset) source code
 
buildStarted(self, name, build) source code
 
buildFinished(self, name, build, results) source code
 
buildETAUpdate(self, build, eta) source code
 
stepStarted(self, build, step) source code
 
stepFinished(self, build, step, results) source code
 
stepETAUpdate(self, build, step, ETA, expectations) source code
 
logStarted(self, build, step, log) source code
 
logFinished(self, build, step, log) source code
 
logChunk(self, build, step, log, channel, text) source code

Inherited from base.StatusReceiverPerspective: __provides__

Inherited from base.StatusReceiverBase: __providedBy__, changeAdded, checkConfig, requestCancelled, requestSubmitted, slaveConnected, slaveDisconnected, stepText2Changed, stepTextChanged

Inherited from twisted.application.service.Service: disownServiceParent, privilegedStartService, setName, setServiceParent, startService, stopService

Inherited from util.ComparableMixin: __cmp__, __hash__

Inherited from twisted.spread.pb.Avatar: perspectiveMessageReceived

Class Variables
  subscribed = None
hash(x)
  client = None
hash(x)

Inherited from base.StatusReceiverPerspective: __implemented__

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

Inherited from util.ComparableMixin: compare_attrs

Method Details

__getstate__(self)

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

attached(self, mind)

source code 
Overrides: pbutil.NewCredPerspective.attached

detached(self, mind)

source code 
Overrides: pbutil.NewCredPerspective.detached

perspective_subscribe(self, mode, interval, target)

source code 

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.

builderAdded(self, name, builder)

source code 
Overrides: base.StatusReceiverBase.builderAdded

builderChangedState(self, name, state)

source code 
Overrides: base.StatusReceiverBase.builderChangedState

builderRemoved(self, name)

source code 
Overrides: base.StatusReceiverBase.builderRemoved

buildsetSubmitted(self, buildset)

source code 
Overrides: base.StatusReceiverBase.buildsetSubmitted

buildStarted(self, name, build)

source code 
Overrides: base.StatusReceiverBase.buildStarted

buildFinished(self, name, build, results)

source code 
Overrides: base.StatusReceiverBase.buildFinished

buildETAUpdate(self, build, eta)

source code 
Overrides: base.StatusReceiverBase.buildETAUpdate

stepStarted(self, build, step)

source code 
Overrides: base.StatusReceiverBase.stepStarted

stepFinished(self, build, step, results)

source code 
Overrides: base.StatusReceiverBase.stepFinished

stepETAUpdate(self, build, step, ETA, expectations)

source code 
Overrides: base.StatusReceiverBase.stepETAUpdate

logStarted(self, build, step, log)

source code 
Overrides: base.StatusReceiverBase.logStarted

logFinished(self, build, step, log)

source code 
Overrides: base.StatusReceiverBase.logFinished

logChunk(self, build, step, log, channel, text)

source code 
Overrides: base.StatusReceiverBase.logChunk