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`.`internet`.`endpoints`.`AdoptedStreamServerEndpoint``

class documentation

`class AdoptedStreamServerEndpoint: (source)`

Implements interfaces: `twisted.internet.interfaces.IStreamServerEndpoint`

View In Hierarchy

An endpoint for listening on a file descriptor initialized outside of Twisted.

Method | `__init__` | No summary
Method | `listen` | Implement `IStreamServerEndpoint.listen` to start listening on, and then close, `self._fileno`.
Instance Variable | `addressFamily` | Undocumented
Instance Variable | `fileno` | Undocumented
Instance Variable | `reactor` | Undocumented
Class Variable | `_setNonBlocking` | Undocumented
Instance Variable | `_used` | A `bool` indicating whether this endpoint has been used to listen with a factory yet. `True` if so.

def __init__(self, reactor, fileno, addressFamily): (source)

Parameters
reactor | An `IReactorSocket` provider.
fileno | An integer file descriptor corresponding to a listening SOCK_STREAM socket.
addressFamily | The address family of the socket given by `fileno`.

def listen(self, factory): (source)
from `twisted.internet.interfaces.IStreamServerEndpoint`

Implement `IStreamServerEndpoint.listen` to start listening on, and then close, `self._fileno`.

addressFamily = (source)

Undocumented

fileno = (source)

Undocumented

reactor = (source)

Undocumented

_setNonBlocking = (source)

Undocumented

_used: `bool` = (source)

A `bool` indicating whether this endpoint has been used to listen with a factory yet. `True` if so.