©2009 Google -
Code Home -
Terms of Service -
Privacy Policy -
Site Directory
Google Code offered in:
English -
Español -
日本語 -
한국어 -
Português -
Pусский -
中文(简体) -
中文(繁體)
An XMPP helper task that sends the current user's status to a XMPP server. The task does not wait for a reply (XMPP does not define a reply), but ends itself once the status stanza has been sent. See CallClient::InitPresence in callclient.cc for example code. The methods shown are not thread-safe, and can be called on any thread, but you should call them from the signaling thread.
class PresenceOutTask : public XmppTask
The following table lists the important public methods of PresenceOutTask.
| Name | Description |
|---|---|
| XmppReturnStatus Send(const Status & s) | Sends the current user's status to the XMPP server. |
| XmppReturnStatus SendDirected(const Jid & j, const Status & s) | Sends the current user's status to a specific user on the XMPP server. The JID must be the full jid of the user, not a bare JID. |
| XmppReturnStatus SendProbe(const Jid& jid) | Sends a request for the presence of a particular user, identified by their full JID. |
| virtual int ProcessStart() | Starts the task running. |
Attributes: public
Declaration file: talk/examples/login/presenceouttask.h