class documentation

class _ProducerMembrane: (source)

Constructor: _ProducerMembrane(producer)

Implements interfaces: twisted.internet.interfaces.IPushProducer

View In Hierarchy

Stand-in for producer registered with a TLSMemoryBIOProtocol transport.

Ensures that producer pause/resume events from the undelying transport are coordinated with pause/resume events from the TLS layer.

Method __init__ Undocumented
Method pauseProducing pauseProducing the underlying producer, if it's not paused.
Method resumeProducing resumeProducing the underlying producer, if it's paused.
Method stopProducing stopProducing the underlying producer.
Instance Variable _producer The application-layer producer.
Instance Variable _producerPaused Undocumented
def __init__(self, producer): (source)

Undocumented

def pauseProducing(self): (source)

pauseProducing the underlying producer, if it's not paused.

def resumeProducing(self): (source)

resumeProducing the underlying producer, if it's paused.

def stopProducing(self): (source)

stopProducing the underlying producer.

There is only a single source for this event, so it's simply passed on.

_producer = (source)

The application-layer producer.

_producerPaused: bool = (source)

Undocumented