twisted.words.test.test_jabberxmlstream.DummyXMPPHandler(xmlstream.XMPPHandler)
class documentationtwisted.words.test.test_jabberxmlstream
(View In Hierarchy)
Dummy XMPP subprotocol handler to count the methods are called on it.
Method | __init__ | Undocumented |
Method | makeConnection | A connection over the underlying transport of the XML stream has been established. |
Method | connectionMade | Called after a connection has been established. |
Method | connectionInitialized | The XML stream has been initialized. |
Method | connectionLost | The XML stream has been closed. |
Inherited from XMPPHandler:
Method | setHandlerParent | Set the parent of the handler. |
Method | disownHandlerParent | Remove the parent of the handler. |
Method | send | Send data over the managed XML stream. |
A connection over the underlying transport of the XML stream has been established.
At this point, no traffic has been exchanged over the XML stream given
in xs
.
This should setup xmlstream
and call connectionMade
.
Called after a connection has been established.
Can be overridden to perform work before stream initialization.
The XML stream has been initialized.
Can be overridden to perform work after stream initialization, e.g. to set up observers and start exchanging XML stanzas.