[jdev] Presence delivery of roster items

Trejkaz trejkaz at trypticon.org
Wed Aug 10 23:18:37 CDT 2005


Quoting Vinod Panicker <vinod.p at gmail.com>:

> On 8/10/05, Julien PUYDT <julien.puydt at laposte.net> wrote:
>> Vinod Panicker a écrit :
>> > When exactly is the user's server supposed to deliver presence
>> > information of the contacts in the user's roster to the user when the
>> > user is logging in? (assuming that the user is authorized+subscribed
>> > to get the presence of the said contacts).
>>
>> Section 5.1 of RFC 3921 probably answers that question.
>
> Section 5.1 of RFC 3921 talks about presence subscriptions.  I'm
> basically asking abt "presence stanzas" - eg, when the user's server
> gets presence information of a contact from the contact's server as a
> result of a presence probe, when is the user's server expected to
> deliver it to the user?  Common sense states that it should deliver it
> to the user as soon as it receives the stanza, but what abt presence
> states of contacts that are connected to the same server?  Will the
> server deliver individual presence stanza's per contact to the user?
> Will the server bunch them together and send them across?  And when
> exactly will the server send this?  After initial presence?  Before
> initial presence?

If you're talking solely about the presence "flood" you get on login, 
the server
should send this immediately after the user becomes available by sending their
presence.  Basically, if the user hasn't declared their presence yet, they're
not allowed to see the presence of other users either.

TX


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the JDev mailing list