adamfisk / littleshoot-xmpp

LittleShoot XMPP Wrapper Code
http://www.littleshoot.org
2 stars 3 forks source link

Reconnection doesn't work #4

Open leahxschmidt opened 11 years ago

leahxschmidt commented 11 years ago

When you're disconnected from an XMPP server (after being connected), you never get reconnected (or, if you do get reconnected, it takes a very long time; I didn't notice it happen during my testing).

Reconnection ought to be controlled by the XmppConnectionRetryStrategy.

leahxschmidt commented 11 years ago

Hm. I did eventually get a retry (using XmppConnectionRetryStrategy). But it took a very long time -- maybe fifteen minutes.

adamfisk commented 11 years ago

Hmm -- very interesting thanks. I'll work on better tests for this -- totally weird it doesn't just reconnect!

leahxschmidt commented 11 years ago

It would also be good if I could add a listener on this, so that when it reconnects, I can redo the port mapping.