t.w.p.j.x.XmlStreamServerFactory(xmlstream.BootstrapMixin, protocol.ServerFactory) : class documentation

Part of twisted.words.protocols.jabber.xmlstream View Source View In Hierarchy

Known subclasses: twisted.words.protocols.jabber.component.XMPPComponentServerFactory

Factory for Jabber XmlStream objects as a server.
Present Since8.2.
Instance Variable authenticatorFactory Factory callable that takes no arguments, to create a fresh authenticator to be associated with the XmlStream.
Method __init__ Undocumented
Method buildProtocol Create an instance of XmlStream.

Inherited from BootstrapMixin:

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 ServerFactory):

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.
authenticatorFactory =
Factory callable that takes no arguments, to create a fresh authenticator to be associated with the XmlStream.
def __init__(self, authenticatorFactory): (source)
Undocumented
def buildProtocol(self, addr): (source)
Create an instance of XmlStream.

A new authenticator instance will be created and passed to the new XmlStream. Registered bootstrap event observers are installed as well.

API Documentation for Twisted, generated by pydoctor at 2012-06-04 17:20:01.