[JDEV] How do we log off from the Icq-transport
Eric Bowersox
ebowersox at jabber.com
Thu Sep 14 16:53:47 CDT 2000
The principle should be similar for other transports, though I can't speak
for their authors...
Eric
> -----Original Message-----
> From: mallum [mailto:breakfast at 10.am]
> Sent: Thursday, September 14, 2000 8:36 PM
> To: jdev at jabber.org
> Subject: Re: [JDEV] How do we log off from the Icq-transport
>
>
> Is this method unique to the ICQ transport or does it work
> for other IM
> transports ( eg Yahoo) ?
>
> mallum
>
> On Thu, Sep 14, 2000 at 02:59:43PM -0600, Eric Bowersox wrote:
> > You connect to and disconnect from the ICQ transport by
> sending presence to
> > it. When you registered with it, it sent you a JID to subscribe to
> > (something like "icq.jabber.com/register?uin=..."). Send
> that JID an
> > "available" presence message (i.e. a <presence/> with no
> type) to log on,
> > and an "unavailable" presence message (i.e. <presence
> type="unavailable"/>)
> > to log off.
> >
> > This way, the connection is handled almost transparently,
> because that JID
> > the transport sent you gets put in your roster. When you
> log in, you send
> > an "available" presence to the jserver, which forwards that
> presence to
> > everybody on your roster, including the ICQ transport,
> which logs you in.
> > The ICQ transport also traps presence messages you send to
> ICQ user JIDs
> > (i.e. "23456789 at icq.jabber.com") and uses them to build the
> ICQ contact list
> > it sends to the ICQ server.
> >
> > Eric
> >
> > > -----Original Message-----
> > > From: Amarnath Yara [mailto:amarny at hotmail.com]
> > > Sent: Thursday, September 14, 2000 2:35 PM
> > > To: jdev at jabber.org
> > > Subject: [JDEV] How do we log off from the Icq-transport
> > >
> > >
> > > Hi all, I would like to know the XML that must be sent to the
> > > ICQ-Transport
> > > to log off and log in from the transport after you register.
> > > Is it possible
> > > that we temporarily log off from the transport and later log
> > > in when we
> > > desire. If yes what is the XML? Any suggestions and help
> would be
> > > appreicated.
> > >
> > > Amar.
> > > ______________________________________________________________
> > > ___________
> > > Get Your Private, Free E-mail from MSN Hotmail at
> > > http://www.hotmail.com.
> > >
> > > Share information about yourself, create your own public
> profile at
> > > http://profiles.msn.com.
> > >
> > >
> > > _______________________________________________
> > > 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
> >
>
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
>
More information about the JDev
mailing list