Re: Getting notifications of the various states of a connection
From: Jakob Schroeter <js@xxxxxxxxxx>
Date: Tue, 05 Sep 2006 10:34:27 +0200
On Sunday September 3 2006 21:06, Brian Arandez wrote:
> On 09 4, 06, at 2:59 AM, Salvatore Iovene wrote:
> > Hello,
> > I'd like to receive callbacks for every stage of establishing a
> > connection. I.e. connecting, sending password, authenticating,
> > authenticated, receiving roster, connection completed.
> >
> > That would be very handy when making a progress bar for the
> > connection.
> > Is there any way, currently, of doing that?
> >
> > Thanks!
> >
> > --
> > Salvatore Iovene
> > http://www.iovene.com
>
> Hi
> You can do that by using the log handler. Gloox returns logs for
> every stage of the connection.

Yepp, there is no other way currently. I'll try not to break the log messages 
until there is.


> BTW i think i figured out the problem with the roster. After re-
> subscribing to every item in my roster list i was able to receive
> updates of their availability just fine.

In case you can reproduce this, could you post the xml for the events gloox 
doesn't recognize correctly?

Jakob

Attachment: pgphNQ2OGv9Wr.pgp
Description: PGP signature

-- 
gloox-dev mailing list
to unsubscribe:
send a message with subject 'unsubscribe gloox-dev' to minimalist@xxxxxxxxxx