wokkel.xmppimView Source (View In Hierarchy)
XMPP Presence base protocol handler.
This class is the base for protocol handlers that receive presence
stanzas. Listening to all incoming presence stanzas, it extracts the
stanza's type and looks up a matching stanza parser and calls the
associated method. The method's name is the type +
for a complete example.
|Class Variable||presenceTypeParserMap||Maps presence stanza types to their respective stanza parser classes
|Method||connectionInitialized||The XML stream has been initialized.|
|Method||_onPresence||Called when a presence stanza has been received.|
Inherited from XMPPHandler:
|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||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.|
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.
Called when a presence stanza has been received.