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.

Variable NS_COMPONENT_ACCEPT Undocumented
Function componentFactory XML stream factory for external server-side components.
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 Service External server-side component service.
Class ServiceManager Business logic for a managed component connection to a Jabber router.
Function buildServiceManager Constructs a pre-built ServiceManager, using the specified strport string.
Class Router XMPP Server's Router.
Class XMPPComponentServerFactory XMPP Component Server factory.
NS_COMPONENT_ACCEPT = (source)

Undocumented

(type: str)
def componentFactory(componentid, password): (source)

XML stream factory for external server-side components.

ParameterscomponentidJID of the component. (type: unicode)
passwordpassword used to authenticate to the server. (type: str)
def buildServiceManager(jid, password, strport): (source)

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

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