| Trees | Indices | Help |
|
|---|
|
|
twisted.application.service.Service --+
|
util.ComparableMixin --+
|
ChangeSource --+
|
PollingChangeSource
Utility subclass for ChangeSources that use some kind of periodic
polling operation. Subclasses should define poll and set
self.pollInterval. The rest is taken care of.
Any subclass will be available via the "poller" webhook.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
| Class Variables | |
pollInterval = 60time (in seconds) between calls to poll
|
|
|
Inherited from Inherited from Inherited from |
|
| Method Details |
This is the method that is called by LoopingCall to actually poll. It may also be called by change hooks to request a poll. It is serialiazed - if you call it while a poll is in progress then the 2nd invocation won't start until the 1st has finished. |
Perform the polling operation, and return a deferred that will fire
when the operation is complete. Failures will be logged, but the method
will be called again after |
|
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Nov 21 16:22:43 2012 | http://epydoc.sourceforge.net |