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 .