class documentation

class twisted.words.protocols.jabber.component.XMPPComponentServerFactory(xmlstream.XmlStreamServerFactory): (source)

View In Hierarchy

XMPP Component Server factory.

This factory accepts XMPP external component connections and makes the router service route traffic for a component's bound domain to that component.

Present Since8.2
Class Variable logTraffic Undocumented
Method __init__ Undocumented
Instance Variable router Undocumented
Instance Variable secret Undocumented
Instance Variable serial Undocumented
Method onConnectionMade Called when a component connection was made.
Method onAuthenticated Called when a component has successfully authenticated.
Method onError Undocumented
Method onConnectionLost Undocumented

Inherited from XmlStreamServerFactory:

Instance Variable authenticatorFactory Factory callable that takes no arguments, to create a fresh authenticator to be associated with the XmlStream.
Method buildProtocol Create an instance of XmlStream.

Inherited from BootstrapMixin (via XmlStreamServerFactory):

Instance Variable bootstraps The list of registered bootstrap event observers.
Method installBootstraps Install registered bootstrap observers.
Method addBootstrap Add a bootstrap event handler.
Method removeBootstrap Remove a bootstrap event handler.

Inherited from Factory (via XmlStreamServerFactory, ServerFactory):

Class Variable protocol Undocumented
Instance Variable numPorts Undocumented
Class Variable noisy Undocumented
Class Method forProtocol Create a factory for the given protocol.
Method logPrefix Describe this factory for log messages.
Method doStart Make sure startFactory is called.
Method doStop Make sure stopFactory is called.
Method startFactory This will be called before I begin listening on a Port or Connector.
Method stopFactory This will be called before I stop listening on all Ports/Connectors.
logTraffic = (source)

Undocumented

(type: bool)
def __init__(self, router, secret='secret'): (source)
router = (source)

Undocumented

secret = (source)

Undocumented

serial = (source)

Undocumented

(type: int)
def onConnectionMade(self, xs): (source)

Called when a component connection was made.

This enables traffic debugging on incoming streams.

def onAuthenticated(self, xs): (source)

Called when a component has successfully authenticated.

Add the component to the routing table and establish a handler for a closed connection.

def onError(self, reason): (source)

Undocumented

def onConnectionLost(self, destination, xs, reason): (source)

Undocumented

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