Home | Trees | Indices | Help |
---|
|
zope.interface.Interface --+ | IStatusLogConsumer
I am an object which can be passed to IStatusLog.subscribeConsumer().
I represent a target for writing the contents of an IStatusLog. This
differs from a regular IStatusReceiver in that it can pause the producer.
This makes it more suitable for use in streaming data over network
sockets, such as an HTTP request. Note that the consumer can only pause
the producer until it has caught up with all the old data. After that
point, pauseProducing
is ignored and all new output from the
log is sent directoy to the consumer.
|
|||
|
|||
|
|||
|
|||
|
|
|||
_InterfaceClass__attrs =
|
|||
__bases__ =
|
|||
__identifier__ =
|
|||
__iro__ =
|
|||
__name__ =
|
|||
__sro__ =
|
|||
_implied =
|
|||
dependents = <WeakKeyDictionary at 45515336>
|
|||
Inherited from |
|
A producer is being hooked up to this consumer. The consumer only has to handle a single producer. It should send .pauseProducing and .resumeProducing messages to the producer when it wants to stop or resume the flow of data. 'streaming' will be set to True because the producer is always a PushProducer. |
The previously-registered producer has been removed. No further pauseProducing or resumeProducing calls should be made. The consumer should delete its reference to the Producer so it can be released. |
A chunk (i.e. a tuple of (channel, text)) is being written to the consumer. |
|
_InterfaceClass__attrs
|
__iro__
|
__sro__
|
_implied
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Jul 31 16:51:55 2009 | http://epydoc.sourceforge.net |