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
 
__providedBy__(...)
Object Specification Descriptor
source code
 
__provides__(...)
Special descriptor for class __provides__
Class Variables
  __implemented__ = <implementedBy buildbot.status.web.logs.Chun...
Method Details

__provides__(...)

 
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__]
  ['IFooFactory']

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


Class Variable Details

__implemented__

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