1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-10 17:49:38 +02:00

Remove protected getConnectionListeners()

Also remove reconnectionFailed() from XMPPBOSHConnection, only
ReconnectionManager should call it.

Add and fix javadoc of ConnectionListener.
This commit is contained in:
Florian Schmaus 2015-01-10 01:23:20 +01:00
parent 8f8e0c7138
commit 6a43bab4f5
4 changed files with 45 additions and 43 deletions

View file

@ -92,9 +92,7 @@ public class DummyConnection extends AbstractXMPPConnection {
roster = null;
authenticated = false;
for (ConnectionListener listener : getConnectionListeners()) {
listener.connectionClosed();
}
callConnectionClosedListener();
reconnect = true;
}