コード例 #1
0
 /**
  * Notified when registration state changed for a provider.
  *
  * @param evt
  */
 public void registrationStateChanged(RegistrationStateChangeEvent evt) {
   if (evt.getNewState() == RegistrationState.UNREGISTERING) {
     new Timer().schedule(this, TIME_FOR_PP_TO_UNREGISTER);
   } else {
     protocolProvider.removeRegistrationStateChangeListener(this);
     resetListeningPointsTimers.remove(protocolProvider.getRegistrarConnection().getTransport());
   }
 }
コード例 #2
0
ファイル: ClientCapabilities.java プロジェクト: 0xbb/jitsi
 /** Frees allocated resources. */
 void shutdown() {
   provider.removeRegistrationStateChangeListener(registrationListener);
 }