@Override public void registrationStateChanged(RegistrationStateChangeEvent evt) { RegistrationState registrationState = evt.getNewState(); logger.info("XMPP provider reg state: " + registrationState); if (RegistrationState.REGISTERED.equals(registrationState)) { // Do initializations which require valid connection meetExtensionsHandler.init(); } }
/** Stops this instance. */ public void stop() { expireThread.stop(); if (componentsDiscovery != null) { componentsDiscovery.stop(); componentsDiscovery = null; } meetExtensionsHandler.dispose(); protocolProviderHandler.stop(); }