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`.`words`.`protocols`.`jabber`.`xmlstream`.`XMPPHandlerCollection``

class documentation

`class XMPPHandlerCollection: (source)`

Known subclasses: `twisted.words.protocols.jabber.xmlstream.StreamManager`

Implements interfaces: `twisted.words.protocols.jabber.ijabber.IXMPPHandlerCollection`

View In Hierarchy

Collection of XMPP subprotocol handlers.

This allows for grouping of subprotocol handlers, but is not an `XMPPHandler` itself, so this is not recursive.

Method | `__init__` | Undocumented
Method | `__iter__` | Act as a container for handlers.
Method | `addHandler` | Add protocol handler.
Method | `removeHandler` | Remove protocol handler.
Instance Variable | `handlers` | List of protocol handlers.

def __init__(self): (source)
overridden in `twisted.words.protocols.jabber.xmlstream.StreamManager`

Undocumented

def __iter__(self): (source)
from `twisted.words.protocols.jabber.ijabber.IXMPPHandlerCollection`

Act as a container for handlers.

def addHandler(self, handler): (source)
from `twisted.words.protocols.jabber.ijabber.IXMPPHandlerCollection`
overridden in `twisted.words.protocols.jabber.xmlstream.StreamManager`

Add protocol handler.

Protocol handlers are expected to provide `ijabber.IXMPPHandler`.

def removeHandler(self, handler): (source)
from `twisted.words.protocols.jabber.ijabber.IXMPPHandlerCollection`

Remove protocol handler.

handlers: `list` of objects providing `IXMPPHandler` = (source)

List of protocol handlers.