/** * {@inheritDoc} */ public MobicentsSipSession removeSipSession(final MobicentsSipSessionKey key) { return sipManagerDelegate.removeSipSession(key); }
/** * {@inheritDoc} */ public MobicentsSipSession removeSipSession(final MobicentsSipSessionKey key) { return sipManagerDelegate.removeSipSession(key); }
@Override public MobicentsSipSession removeSipSession(MobicentsSipSessionKey key) { return sipManagerDelegate.removeSipSession(key); }
@Override public MobicentsSipSession removeSipSession(MobicentsSipSessionKey key) { return sipManagerDelegate.removeSipSession(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 processRemoteSipSessionInvalidation(SipSessionKey sipSessionKey) { ClusteredSipSession session = (ClusteredSipSession) sipManagerDelegate.removeSipSession(sipSessionKey); final String realId = sipSessionKey.toString(); if (session == null) {
/** * {@inheritDoc} */ public MobicentsSipSession removeSipSession(final MobicentsSipSessionKey key) { ClusteredSipSession clusterSess = (ClusteredSipSession) sipManagerDelegate.removeSipSession(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.sipSessionExpired(clusterSess, realId, snapshotManager_); stats_.removeStats(realId); activeCounter_--; } } return clusterSess; }
clusterSess, realId, snapshotManager_); sipManagerDelegate.removeSipSession(clusterSess.getKey()); stats_.removeStats(realId);