Package buildbot :: Package status :: Package web :: Module logs :: Class ChunkConsumer
[frames] | no frames]

Class ChunkConsumer

source code

Instance Methods
__init__(self, original, textlog) source code
registerProducer(self, producer, streaming) source code
unregisterProducer(self) source code
writeChunk(self, chunk) source code
finish(self) source code
Object Specification Descriptor
source code
Special descriptor for class __provides__
Class Variables
  __implemented__ = <implementedBy buildbot.status.web.logs.Chun...
Method Details


Special descriptor for class __provides__

The descriptor caches the implementedBy info, so that
we can get declarations for objects without instance-specific
interfaces a bit quicker.

For example:

  >>> from zope.interface import Interface
  >>> class IFooFactory(Interface):
  ...     pass
  >>> class IFoo(Interface):
  ...     pass
  >>> class C(object):
  ...     implements(IFoo)
  ...     classProvides(IFooFactory)
  >>> [i.getName() for i in C.__provides__]

  >>> [i.getName() for i in C().__provides__]

Class Variable Details


<implementedBy buildbot.status.web.logs.ChunkConsumer>