Package buildbot :: Package status :: Module status_push :: Class HttpStatusPush
[frames] | no frames]

Class HttpStatusPush

source code

                 base.StatusReceiverBase --+        
                                           |        
 twisted.application.service.Service --+   |        
                                       |   |        
twisted.application.service.MultiService --+        
                                           |        
                    util.ComparableMixin --+        
                                           |        
             base.StatusReceiverMultiService --+    
                                               |    
                                      StatusPush --+
                                                   |
                                                  HttpStatusPush

Event streamer to a HTTP server.

Instance Methods
 
__init__(self, serverUrl, debug=None, maxMemoryItems=None, maxDiskItems=None, chunkSize=200, maxHttpRequestSize=1048576, **kwargs) source code
 
wasLastPushSuccessful(self)
Returns if the "virtual pointer" in the queue advanced.
source code
 
popChunk(self)
Pops items from the pending list.
source code
 
pushHttp(self)
Do the HTTP POST to the server.
source code

Inherited from StatusPush: buildETAUpdate, buildFinished, buildStarted, builderAdded, builderChangedState, builderRemoved, buildsetSubmitted, changeAdded, finalPush, initialPush, logFinished, logStarted, push, queueNextServerPush, requestCancelled, requestSubmitted, slaveConnected, slaveDisconnected, startService, stepETAUpdate, stepFinished, stepStarted, stepText2Changed, stepTextChanged, stopService

Inherited from base.StatusReceiverMultiService: __provides__

Inherited from base.StatusReceiverBase: __providedBy__, checkConfig, logChunk

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

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

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables

Inherited from base.StatusReceiverMultiService: __implemented__

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

Inherited from util.ComparableMixin: compare_attrs

Method Details

__init__(self, serverUrl, debug=None, maxMemoryItems=None, maxDiskItems=None, chunkSize=200, maxHttpRequestSize=1048576, **kwargs)
(Constructor)

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

wasLastPushSuccessful(self)

source code 

Returns if the "virtual pointer" in the queue advanced.

Overrides: StatusPush.wasLastPushSuccessful
(inherited documentation)

popChunk(self)

source code 

Pops items from the pending list.

They must be queued back on failure.