class documentation

class _ProducerMembrane:

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):

Undocumented

def pauseProducing(self):

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

def resumeProducing(self):

resumeProducing the underlying producer, if it's paused.

def stopProducing(self):

stopProducing the underlying producer.

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

_producer =

The application-layer producer.

_producerPaused: bool =

Undocumented