twisted.words.protocols.jabber.xmlstreamView Source (View In Hierarchy)
|Instance Variable||xmlstream||currently managed XML stream (type:
|Instance Variable||logTraffic||if true, log all traffic. (type:
|Method||addHandler||Add protocol handler.|
|Method||initializationFailed||Called when stream initialization has failed.|
|Method||send||Send data over the XML stream.|
|Instance Variable||_initialized||Whether the stream represented by
|Instance Variable||_packetQueue||internal buffer of unsent data. See
|Method||_connected||Called when the transport connection has been established.|
|Method||_authd||Called when the stream has been initialized.|
|Method||_disconnected||Called when the stream has been closed.|
Inherited from XMPPHandlerCollection:
|Instance Variable||handlers||List of protocol handlers. (type:
|Method||__iter__||Act as a container for handlers.|
|Method||removeHandler||Remove protocol handler.|
xmlstreamhas been initialized. This is used when caching outgoing stanzas. (type:
sendfor details. (type:
Add protocol handler.
When an XML stream has already been established, the handler's
connectionInitialized will be called to get it up to
Called when the stream has been initialized.
Send out cached stanzas and call each handler's
Called when stream initialization has failed.
Stream initialization has halted, with the reason indicated by
reason. It may be retried by calling the authenticator's
initializeStream. See the respective authenticators for
|Parameters||reason||A failure instance indicating why stream initialization failed. (type: |
Called when the stream has been closed.
From this point on, the manager doesn't interact with the
anymore and notifies each handler that the connection was lost by calling