Component service that connects directly to a router.

Instead of opening a socket to connect to a router, like Component, components of this type connect to a router in the same process. This allows for one-process XMPP servers.

Instance Variable domains Domains (as unicode) this component will handle traffic for. (type: set)
Method __init__ Undocumented
Method startService Create a XML pipe, connect to the router and setup handlers.
Method stopService Disconnect from the router and handlers.
Method addHandler Add a new handler and connect it to the stream.
Method send Send data to the XML stream, so it ends up at the router.

Inherited from XMPPHandlerCollection:

Instance Variable handlers List of protocol handlers. (type: list of objects providing IXMPPHandler)
Method __iter__ Act as a container for handlers.
Method removeHandler Remove protocol handler.

Inherited from Service:

Method __getstate__ Undocumented
Method setName Set the name of the service.
Method setServiceParent Set the parent of the service. This method is responsible for setting the parent attribute on this service (the child service).
Method disownServiceParent Use this API to remove an IService from an IServiceCollection.
Method privilegedStartService Do preparation work for starting the service.
domains =
Domains (as unicode) this component will handle traffic for. (type: set)
def __init__(self, router, domain=None): (source)
def startService(self): (source)

Create a XML pipe, connect to the router and setup handlers.

def stopService(self): (source)

Disconnect from the router and handlers.

def addHandler(self, handler): (source)

Add a new handler and connect it to the stream.

def send(self, obj): (source)

Send data to the XML stream, so it ends up at the router.

API Documentation for wokkel, generated by pydoctor at 2018-12-06 14:45:46.