class documentation

class twisted.protocols.tls._ProducerMembrane: (source)

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
_producer = (source)
The application-layer producer.
_producerPaused = (source)

Undocumented

(type: bool)
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.

API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.