XMPP XML Streams
Building blocks for setting up XML Streams, including helping classes for doing authentication on either client or server side, and working with XML Stanzas.
| Class | |
Base class for business logic of initializing an XmlStream |
| Class | |
Base class for initializers with a stream feature. |
| Class | |
Authenticator for initiating entities. |
| Class | IQ |
Wrapper for an iq stanza. |
| Class | |
Authenticator for receiving entities. |
| Class | |
Business logic representing a managed XMPP connection. |
| Class | |
TLS stream initializer for the initiating entity. |
| Class | |
XMPP XML Stream protocol handler. |
| Class | |
Factory for Jabber XmlStream objects as a reconnecting client. |
| Class | |
Factory for Jabber XmlStream objects as a server. |
| Class | |
XMPP protocol handler. |
| Class | |
Collection of XMPP subprotocol handlers. |
| Exception | |
Exception indicating a stream feature was not advertized, while required by the initiating entity. |
| Exception | |
Exception raised when no IQ response has been received before the configured timeout. |
| Exception | |
TLS base exception. |
| Exception | |
Exception indicating failed TLS negotiation |
| Exception | |
Exception indicating missing TLS support. |
| Exception | |
Exception indicating required TLS negotiation. |
| Function | hash |
Create a SHA1-digest string of a session identifier and password. |
| Function | to |
Create a response stanza from another stanza. |
| Function | upgrade |
Enhances an XmlStream for iq response tracking. |
| Constant | INIT |
Token dispatched by Authenticator when the stream has failed to be initialized |
| Constant | NS |
Undocumented |
| Constant | NS |
Undocumented |
| Constant | STREAM |
Token dispatched by Authenticator when the stream has been completely initialized |
| Constant | STREAM |
This event signals that the connection has been established. |
| Constant | STREAM |
This event signals that the connection has been closed. |
| Constant | STREAM |
This event signals that a parse error occurred. |
| Constant | STREAM |
This event signals that the root element of the XML Stream has been received. For XMPP, this would be the <stream:stream ...> opening tag. |
| Variable | |
Token to signal that the XML stream has been reset. |
Create a SHA1-digest string of a session identifier and password.
| Parameters | |
| sid:unicode. | The stream session identifier. |
| password:unicode. | The password to be hashed. |
Create a response stanza from another stanza.
This takes the addressing and id attributes from a stanza to create a (new, empty) response stanza. The addressing attributes are swapped and the id copied. Optionally, the stanza type of the response can be specified.
| Parameters | |
stanza:domish.Element | the original stanza |
| stanza | optional response stanza type |
| Returns | |
domish.Element | the response stanza. |
Enhances an XmlStream for iq response tracking.
This makes an XmlStream object provide IIQResponseTracker. When a response is an error iq stanza, the deferred has its errback invoked with a failure that holds a StanzaError that is easier to examine.
Token dispatched by Authenticator when the stream has failed to be initialized
| Value |
|
Token dispatched by Authenticator when the stream has been completely initialized
| Value |
|
This event signals that the connection has been established.
| Value |
|