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.
Instance VariablesauthenticatorFactoryFactory callable that takes no arguments, to create a fresh authenticator to be associated with the XmlStream.
Present Since8.2.
Method __init__ Undocumented
Method buildProtocol Create an instance of XmlStream.

Inherited from BootstrapMixin:

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 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.
def __init__(self, authenticatorFactory): (source)
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 2011-10-27 16:12:41.