wokkel.subprotocolsView Source (View In Hierarchy)
Known subclasses: wokkel.disco.DiscoClientProtocol, wokkel.disco.DiscoHandler, wokkel.generic.FallbackHandler, wokkel.generic.VersionHandler, wokkel.pubsub.PubSubClient, wokkel.pubsub.PubSubService, wokkel.xmppim.BasePresenceProtocol, wokkel.xmppim.MessageProtocol, wokkel.xmppim.PresenceClientProtocol, wokkel.xmppim.RosterClientProtocol
Implements interfaces: twisted.words.protocols.jabber.ijabber.IXMPPHandler
XMPP protocol handler.
Classes derived from this class implement (part of) one or more XMPP extension protocols, and are referred to as a subprotocol implementation.
|Method||setHandlerParent||Set the parent of the handler.|
|Method||disownHandlerParent||Remove the parent of the handler.|
|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.|
|Method||send||Send data over the managed XML stream.|
|Method||request||Send an IQ request and track the response.|
Set the parent of the handler.
Remove the parent of the handler.
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.
The XML stream has been closed.
This method can be extended to inspect the
and act on it.
Send data over the managed XML stream.
|Parameters||obj||data to be sent over the XML stream. This is usually an object providing
|Note||The stream manager maintains a queue for data sent using this method when
there is no current initialized XML stream. This data is then sent as soon
as a new stream has been established and initialized. Subsequently, |