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

Class HttpStatusPush

source code

                     base.StatusReceiver --+        
                                           |        
 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, setServiceParent, slaveConnected, slaveDisconnected, stepETAUpdate, stepFinished, stepStarted, stepText2Changed, stepTextChanged, stopService

Inherited from base.StatusReceiver: __providedBy__, logChunk

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

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

Inherited from util.ComparableMixin: __cmp__, __hash__

Class Variables

Inherited from base.StatusReceiverMultiService: __implemented__, __provides__

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.