[JDEV] What about the resource?

Cuplan cuplan at tampabay.rr.com
Mon Aug 13 12:41:08 CDT 2001


----- Original Message -----
From: "Jens Alfke" <jens at mac.com>
To: <jdev at jabber.org>
Sent: Monday, August 13, 2001 12:50 PM
Subject: Re: [JDEV] What about the resource?


> In my client, and in the examples I've seen, subscribe requests are sent
> to JIDs without resources. That way you learn about that person's
> presence no matter where they're logged in.

It is, however, quite conceivable that someone might want to do this.  For
example, suppose that a person runs several different Jabber applications
off the same JID that, for example, perform automated services?  You might
only be interested in one of those applications, and not the others.

> It depends on what the user model of a "person" is in your GUI. The way
> I decided it, my client considers all resources of one JID to be a
> single person and displays the status and message of the most-available
> resource. In fact, I allow multiple JIDs per person and use the
> most-available resource of all the JIDs.

Mine makes virtually no resource discrimination that I'm aware of.  It
associates a full JID with a nickname for the list.  Whatever that JID is,
that's what the system looks at.  Unless JabberBeans performs in a way of
which I'm not aware, which is quite possible. :)

--
J. Rhett Aultman.

"Where does your body begin?"
     -Swans, "Where Does a Body End"
"Your body begins where my memory ends"
     -Swans, "Telepathy"




More information about the JDev mailing list