Part of twisted.words.xish.xmlstream View Source View In Hierarchy
Known subclasses: twisted.words.protocols.jabber.xmlstream.XmlStreamFactory
| Method | buildProtocol | Create a protocol instance. |
Inherited from XmlStreamFactoryMixin:
| Method | __init__ | Undocumented |
Inherited from BootstrapMixin (via XmlStreamFactoryMixin):
| Method | installBootstraps | Install registered bootstrap observers. |
| Method | addBootstrap | Add a bootstrap event handler. |
| Method | removeBootstrap | Remove a bootstrap event handler. |
Inherited from ReconnectingClientFactory:
| 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 | Put a stop to any attempt to reconnect in progress. |
| Method | resetDelay | Call this method after a successful connection: it resets the delay and the retry counter. |
| Method | __getstate__ | No summary |
Inherited from ClientFactory (via ReconnectingClientFactory):
| Method | startedConnecting | Called when a connection has been started. |
Inherited from Factory (via 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. |
Create a protocol instance.
OverridesXmlStreamFactoryMixin.buildProtocol
to work with a ReconnectingClientFactory.
As this is called upon having an connection established, we are resetting
the delay for reconnection attempts when the connection is lost again.