/** * {@inheritDoc} */ public MobicentsSipApplicationSession removeSipApplicationSession(final MobicentsSipApplicationSessionKey key) { return sipManagerDelegate.removeSipApplicationSession(key); }
/** * {@inheritDoc} */ public MobicentsSipApplicationSession removeSipApplicationSession(final MobicentsSipApplicationSessionKey key) { return sipManagerDelegate.removeSipApplicationSession(key); }
@Override public MobicentsSipApplicationSession removeSipApplicationSession(MobicentsSipApplicationSessionKey key) { return sipManagerDelegate.removeSipApplicationSession(key); }
@Override public MobicentsSipApplicationSession removeSipApplicationSession(MobicentsSipApplicationSessionKey key) { return sipManagerDelegate.removeSipApplicationSession(key); }
/** * Remove the sip sessions and sip application sessions */ public void removeAllSessions() { List<SipSessionKey> sipSessionsToRemove = new ArrayList<SipSessionKey>(); for (SipSessionKey sipSessionKey : sipSessions.keySet()) { sipSessionsToRemove.add(sipSessionKey); } for (SipSessionKey sipSessionKey : sipSessionsToRemove) { removeSipSession(sipSessionKey); } List<SipApplicationSessionKey> sipApplicationSessionsToRemove = new ArrayList<SipApplicationSessionKey>(); for (SipApplicationSessionKey sipApplicationSessionKey : sipApplicationSessions.keySet()) { sipApplicationSessionsToRemove.add(sipApplicationSessionKey); } for (SipApplicationSessionKey sipApplicationSessionKey : sipApplicationSessionsToRemove) { removeSipApplicationSession(sipApplicationSessionKey); } }
public void processRemoteSipApplicationSessionInvalidation(SipApplicationSessionKey sipApplicationSessionKey) { sipManagerDelegate.removeSipApplicationSession(sipApplicationSessionKey); final String realId = sipApplicationSessionKey.toString(); if (session == null) {
/** * {@inheritDoc} */ public MobicentsSipApplicationSession removeSipApplicationSession( final MobicentsSipApplicationSessionKey key) { ClusteredSipApplicationSession clusterSess = (ClusteredSipApplicationSession) sipManagerDelegate.removeSipApplicationSession(key); if(clusterSess == null) { return null; } synchronized (clusterSess) { final String realId = clusterSess.getId(); if (log_.isDebugEnabled()) { log_.debug("Removing session from store with id: " + realId); } try { // Ignore any cache notifications that our own work generates ConvergedSessionReplicationContext.startSipCacheActivity(); clusterSess.removeMyself(); } finally { ConvergedSessionReplicationContext.finishSipCacheActivity(); // We don't want to replicate this session at the end // of the request; the removal process took care of that ConvergedSessionReplicationContext.sipApplicationSessionExpired(clusterSess, realId, snapshotManager_); stats_.removeStats(realId); activeCounter_--; } } return clusterSess; }
snapshotManager_); sipManagerDelegate.removeSipApplicationSession(clusterSess.getKey()); stats_.removeStats(realId);