Class t.w.p.j.x.XmlStreamFactory(xmlstream.XmlStreamFactory):

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

No class docstring
Method __init__ Undocumented
Method buildProtocol Create an instance of XmlStream.

Inherited from XmlStreamFactory:

Method addBootstrap Add a bootstrap event handler.
Method removeBootstrap Remove a bootstrap event handler.

Inherited from ReconnectingClientFactory (via XmlStreamFactory):

Method clientConnectionFailed Called when a connection has failed to connect.
Method clientConnectionLost Called when an established connection is lost.
Method retry Have this connector connect again, after a suitable delay.
Method stopTrying I put a stop to any attempt to reconnect in progress.
Method resetDelay Call me after a successful connection to reset.

Inherited from ClientFactory (via XmlStreamFactory, ReconnectingClientFactory):

Method startedConnecting Called when a connection has been started.

Inherited from Factory (via XmlStreamFactory, ReconnectingClientFactory, ClientFactory):

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, authenticator): (source)
Undocumented
def buildProtocol(self, _): (source)

Create an instance of XmlStream.

The returned instance will have bootstrap event observers registered and will proceed to handle input on an incoming connection.
API Documentation for twisted, generated by pydoctor.