[JDEV] How to find the presence of a user at server side (was : How to find whether a user is offline from user.xml file)

Sivakumar Malli sivakumarmalli at yahoo.com
Tue Oct 23 15:04:23 CDT 2001


    Is there no other way to do this (any API) other that reading the code
and directly accessing the datastructure in JSM (assuming the presence data
of users is stored in JSM in some datastructure) from the server module i
write?

    DJ, comments please.

+Siva+


----- Original Message -----
From: "DJ Adams" <dj.adams at pobox.com>
To: <jdev at jabber.org>
Sent: Monday, October 22, 2001 12:53 PM
Subject: Re: [JDEV] How to find the presence of a user at server side (was :
How to find whether a user is offline from user.xml file)


> On Sun, Oct 21, 2001 at 11:17:46AM -0600, joe at cursive.net wrote:
> >
> > >From a server component, is there any reason why this won't work?
> > That way you can stay an external component, and not have to futz with
> > JSM.
> >
> > <presence type='probe' to='user at host' from='mycomponent'/>
>
> Currently, for this to work, the prober still needs to have a presence
> subscription relationship with the probee.
>
> dj
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




More information about the JDev mailing list