twisted.words.protocols.jabber.xmlstream.XmlStreamServerFactory(xmlstream.BootstrapMixin, protocol.ServerFactory)
class documentationtwisted.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 Since | 8.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):
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. |
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.