src/main/java/org/jivesoftware/smack/XMPPConnection.java
protected void notifyReconnection() {
        // Notify connection listeners of the reconnection.
        for (ConnectionListener listener : getConnectionListeners()) {
            try {
                listener.reconnectionSuccessful();
            } catch (Exception e) {
                // Catch and print any exception so we can recover
                // from a faulty listener
                e.printStackTrace();
            }
        }
    }
protected void notifyReconnection() {
        // Notify connection listeners of the reconnection.
        for (ConnectionListener listener : getConnectionListeners()) {
            try {
                listener.reconnectionSuccessful();
            } catch (Exception e) {
                // Catch and print any exception so we can recover
                // from a faulty listener
                e.printStackTrace();
            }
        }
    }
protected void notifyReconnection ( ) { // Notify connection listeners of the reconnection. for ( ConnectionListener listener : getConnectionListeners ( ) ) { try { listener . reconnectionSuccessful ( ) ; } catch ( Exception e ) { // Catch and print any exception so we can recover // from a faulty listener e . printStackTrace ( ) ; } } }
Sends a notification indicating that the connection was reconnected
successfully.
Sends a notification indicating that the connection was reconnected successfully .