powered by Jive Software

How to get notified on disconnect

Is there a way to set a callback -or what ever- to get notified when smack gets disconnected from server ?

Or do I have to check the isConnected and isAuthenticated properties on my own within an interval ?

Finn

Message was edited by: Galeon

Check XMPPConnection#addConnectionListener()

Thanks,

Alex

Perfect, thank you Alex