[JDEV] What about the resource?
Chris Chen
ckchris at idream.net
Mon Aug 13 14:36:55 CDT 2001
Normally, you wouldn't care about the resources cuz as the protocol specs
said, when you send a message to a JID without the resource, it will
automatically send it to the Resource that has the highest priority.. Thus,
all you have to do is set different priorities and Jabber server will
automatically take care of the rest for you...
You only need to specify the resource in the JID when you want to
specifically send it to that resource. I would think that normally people
will just increase their priority depending on where they are...
As for roster behavior, you should store the same JID with different
resources separately, but show it on the GUI as consolidated.. If they
want, they can always set an advanced option to see it separately or be
able to choose the resource to send it to..
Chris
At 12:24 PM 8/13/2001, you wrote:
>I think that WinJab will show multiple resources but I haven't used
>Windows in a while so I don't recall the exact behavior. You might want to
>chat with Peter Millard about WinJab and JabberCOM.
>
>Peter
>
>On Mon, 13 Aug 2001, Sebastiaan 'CBAS' Deckers wrote:
>
> > Hi again,
> >
> > I'm running into a problem with the resource part of a Jabber ID.
> >
> > example:
> > I have two items in my roster. user at server/home and user at server/work
> > Should I treat these as seperate contacts in my client? Or should I ignore
> > the resource and show only one person?
> > I think the Jabber protocol says they are two (seperate) individuals but
> > JabberCOM seems to store only one item in it's internal roster (eg.
> > user at server/home, while user at server/work is dumped by JabberCOM).
> > This is terribly confusing!
> > Is it a bug in JabberCOM?
> >
> > Any help would be much appreciated!
> >
> > Thanks,
> > Sebastiaan
> >
> > _______________________________________________
> > jdev mailing list
> > jdev at jabber.org
> > http://mailman.jabber.org/listinfo/jdev
> >
>
>_______________________________________________
>jdev mailing list
>jdev at jabber.org
>http://mailman.jabber.org/listinfo/jdev
PGP at ldap://certserver.pgp.com/
More information about the JDev
mailing list