Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`protocols`.`tls`.`_ProducerMembrane``

class documentation

`class _ProducerMembrane: (source)`

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)
from `twisted.internet.interfaces.IPushProducer`

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

def resumeProducing(self): (source)
from `twisted.internet.interfaces.IPushProducer`

`resumeProducing` the underlying producer, if it's paused.

def stopProducing(self): (source)
from `twisted.internet.interfaces.IProducer`

`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