Home | Trees | Indices | Help |
|
---|
|
base.StatusReceiver --+ | twisted.application.service.Service --+ | | | twisted.application.service.MultiService --+ | util.ComparableMixin --+ | base.StatusReceiverMultiService --+ | StatusPush
Event streamer to a abstract channel.
It uses IQueue to batch push requests and queue the data when the receiver is down. When a PersistentQueue object is used, the items are saved to disk on master shutdown so they can be pushed back when the master is restarted.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from Inherited from Inherited from |
Class Variables | |
Inherited from Inherited from Inherited from |
Method Details |
|
Starting up.
|
Queue the next push or call it immediately. Called to signal new items are available to be sent or on shutdown. A timer should be queued to trigger a network request or the callback should be called immediately. If a status push is already queued, ignore the current call. |
Shutting down.
|
Push a new event. The new event will be either: - Queued in memory to reduce network usage - Queued to disk when the sink server is down - Pushed (along the other queued items) to the server |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Tue May 25 17:52:43 2010 | http://epydoc.sourceforge.net |