[JDEV] Roster vs. Presence

Fabien Ninoles fabien at Nightbird.Dynamic.TZoNE.ORG
Mon Aug 13 00:24:50 CDT 2001

On Sun, Aug 12, 2001 at 11:58:44PM -0400, Paul Vet wrote:
> OK, I'm a newbie to Jabber, although I'm looking into playing around with
> developing a client.  I just want to clarify what a roster/presence is/are.
> Let me make an ICQ comparison.  When I add a user to my Contact List
> (Roster?) it sends a request to that user.  If they accept, the server then
> sends me online status info (Presence?).
> To do the same process in Jabber, what is necessary?  I see a <presence>
> subscribe action, and there's seperate roster stuff.  So to get the full
> functionality of a user, do I add them to the roster, then send a presence
> subsctiption request?

You have to kind of subscription request: to and from (and a third one
which is both and is as expected).  To subscriptions are jid where you
broadcast any change of your status.  From subscriptions are adresses
from which you receive status changes.

And yes, the roster is the equivalent of a contact list.

> Thanks,
> Paul

fabien at tzone.org                 http://www.tzone.org/~fabien
GPG KeyID: C15D FE9E BB35 F596 127F  BF7D 8F1F DFC9 BCE0 9436

More information about the JDev mailing list