示例#1
0
 @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();
   }
 }
示例#2
0
  /** Stops this instance. */
  public void stop() {
    expireThread.stop();

    if (componentsDiscovery != null) {
      componentsDiscovery.stop();
      componentsDiscovery = null;
    }

    meetExtensionsHandler.dispose();

    protocolProviderHandler.stop();
  }