class documentation

class XmlStreamServerFactory(xmlstream.BootstrapMixin, protocol.ServerFactory): (source)

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

View In Hierarchy

Factory for Jabber XmlStream objects as a server.
Present Since
8.2.
Method __init__ Undocumented
Method build​Protocol Create an instance of XmlStream.
Instance Variable authenticator​Factory Factory callable that takes no arguments, to create a fresh authenticator to be associated with the XmlStream.

Inherited from BootstrapMixin:

Method add​Bootstrap Add a bootstrap event handler.
Method install​Bootstraps Install registered bootstrap observers.
Method remove​Bootstrap Remove a bootstrap event handler.
Instance Variable bootstraps The list of registered bootstrap event observers.

Inherited from Factory (via ServerFactory):

Class Method for​Protocol Create a factory for the given protocol.
Method do​Start Make sure startFactory is called.
Method do​Stop Make sure stopFactory is called.
Method log​Prefix Describe this factory for log messages.
Method start​Factory This will be called before I begin listening on a Port or Connector.
Method stop​Factory This will be called before I stop listening on all Ports/Connectors.
Class Variable noisy Undocumented
Class Variable protocol Undocumented
Instance Variable num​Ports 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.

authenticatorFactory = (source)
Factory callable that takes no arguments, to create a fresh authenticator to be associated with the XmlStream.