[JDEV] Status Notifications.
jeremie at netins.net
Fri Jan 15 02:44:58 CST 1999
I don't have time to answer this in detail, but the way it's currently
done is what you hit on at the bottom. Since in Jabber your "roster"
lives on the server side, when you change status only the people in your
roster that are also online will recieve your status updates. Of course,
this will be completly customizable from within a module :)
Actually, things are quite a bit more complex than this and deserving of
their own run-on letter... but I'm all outa breath tonight, so I'll push
this on my FIFO stack and it should happen soon if it doesn't get buried.
On Thu, 14 Jan 1999, Jason Diamond wrote:
> I have a quick question. How are all of the jabber users that might have
> me in their roster be notified when I come online?
> As far as I can tell, it can be done two ways. First, I could keep a
> list of all the users I want to be notified that I'm online. When I
> connect, I'll send all of those users a status message saying I'm
> available. This seems to be the simplest but less intuitive.
> The second would require that the other users add my to the list of
> users they'd like to monitor. Since I don't know who's added me to their
> list, when I connect it's up to them to query my server to get the
> necessary info.
> A combination of the two could also be implemented. When a user adds me
> to their roster, they could inform my server that they'd like to be
> notified of any changes in my status. This way, I don't specifically
> have to know who adds me to their roster. But it complicates things for
> the server. It would have to keep a list of users to notify whenever my
> status changed. If I'm popular, this could be a rather large list.
> Quotas could be used to limit the amount of resources each user is
> allowed to allocate. But that complicates things more than I'd like
> them. One advantage to doing this is that I could possibly query my
> server for the list of users who've taken an interest in me and
> selectively remove people from the list.
> Are there other ways to do this and what is planned for Jabber? How does
> ICQ and AIM do it?
> Jason Diamond.
More information about the JDev