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`.`component``

module documentation
(source)

External server-side components.

Most Jabber server implementations allow for add-on components that act as a separate entity on the Jabber network, but use the server-to-server functionality of a regular Jabber IM server. These so-called 'external components' are connected to the Jabber server using the Jabber Component Protocol as defined in JEP-0114.

This module allows for writing external server-side component by assigning one or more services implementing `ijabber.IService` up to `ServiceManager`. The ServiceManager connects to the Jabber server and is responsible for the corresponding XML stream.

Class | `ComponentInitiatingInitializer` | External server-side component authentication initializer for the initiating entity.
Class | `ConnectComponentAuthenticator` | Authenticator to permit an XmlStream to authenticate against a Jabber server as an external component (where the Authenticator is initiating the stream).
Class | `ListenComponentAuthenticator` | Authenticator for accepting components.
Class | `Router` | XMPP Server's Router.
Class | `Service` | External server-side component service.
Class | `ServiceManager` | Business logic for a managed component connection to a Jabber router.
Class | `XMPPComponentServerFactory` | XMPP Component Server factory.
Function | `buildServiceManager` | Constructs a pre-built `ServiceManager`, using the specified strport string.
Function | `componentFactory` | XML stream factory for external server-side components.
Constant | `NS_COMPONENT_ACCEPT` | Undocumented

def buildServiceManager(jid, password, strport): (source)

Constructs a pre-built `ServiceManager`, using the specified strport string.

def componentFactory(componentid, password): (source)

XML stream factory for external server-side components.

Parameters
componentid:`unicode` | JID of the component.
password:`str` | password used to authenticate to the server.

NS_COMPONENT_ACCEPT: `str` = (source)

Undocumented

Value

    'jabber:component:accept'