/** * {@inheritDoc} */ public MobicentsSipApplicationSession removeSipApplicationSession(final MobicentsSipApplicationSessionKey key) { return sipManagerDelegate.removeSipApplicationSession(key); }
/** * {@inheritDoc} */ public MobicentsSipSession removeSipSession(final MobicentsSipSessionKey key) { return sipManagerDelegate.removeSipSession(key); }
/** * */ public void dumpSipApplicationSessions() { sipManagerDelegate.dumpSipApplicationSessions(); }
/** * 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); } }
/** * Set the maximum number of actives Sip Application Sessions allowed, or -1 * for no limit. * * @param max * The new maximum number of sip application sessions */ public void setMaxActiveSipApplicationSessions(int max) { int oldMaxActiveSipApplicationSessions = this.sipManagerDelegate.getMaxActiveSipApplicationSessions(); this.sipManagerDelegate.setMaxActiveSipApplicationSessions(max); support .firePropertyChange( "maxActiveSipApplicationSessions", Integer.valueOf(oldMaxActiveSipApplicationSessions), Integer.valueOf( this.sipManagerDelegate.getMaxActiveSipApplicationSessions())); }
/** * {@inheritDoc} */ public Iterator<MobicentsSipApplicationSession> getAllSipApplicationSessions() { return sipManagerDelegate.getAllSipApplicationSessions(); }
/** * {@inheritDoc} */ public Iterator<MobicentsSipSession> getAllSipSessions() { return sipManagerDelegate.getAllSipSessions(); }
/** * {@inheritDoc} */ public MobicentsSipApplicationSession findSipApplicationSession( HttpSession httpSession) { return sipManagerDelegate.findSipApplicationSession(httpSession); }
/** * */ public void dumpSipSessions() { sipManagerDelegate.dumpSipSessions(); }
/** * Gets the number of sessions that have expired. * * @return Number of sessions that have expired */ public int getExpiredSipSessions() { return sipManagerDelegate.getExpiredSipSessions(); }
/** * Gets the number of sessions that have expired. * * @return Number of sessions that have expired */ public int getExpiredSipApplicationSessions() { return sipManagerDelegate.getExpiredSipApplicationSessions(); }
/** * Return the maximum number of active Sessions allowed, or -1 for no limit. */ public int getMaxActiveSipApplicationSessions() { return this.sipManagerDelegate.getMaxActiveSipApplicationSessions(); }
/** * Set the maximum number of actives Sip Application Sessions allowed, or -1 * for no limit. * * @param max * The new maximum number of sip application sessions */ public void setMaxActiveSipApplicationSessions(int max) { int oldMaxActiveSipApplicationSessions = this.sipManagerDelegate.getMaxActiveSipApplicationSessions(); this.sipManagerDelegate.setMaxActiveSipApplicationSessions(max); support .firePropertyChange( "maxActiveSipApplicationSessions", Integer.valueOf(oldMaxActiveSipApplicationSessions), Integer.valueOf( this.sipManagerDelegate.getMaxActiveSipApplicationSessions())); }
/** * {@inheritDoc} */ public Iterator<MobicentsSipApplicationSession> getAllSipApplicationSessions() { return sipManagerDelegate.getAllSipApplicationSessions(); }
/** * {@inheritDoc} */ public Iterator<MobicentsSipSession> getAllSipSessions() { return sipManagerDelegate.getAllSipSessions(); }
/** * {@inheritDoc} */ public MobicentsSipApplicationSession findSipApplicationSession(HttpSession httpSession) { return sipManagerDelegate.findSipApplicationSession(httpSession); }
/** * */ public void dumpSipSessions() { sipManagerDelegate.dumpSipSessions(); }
/** * Gets the number of sessions that have expired. * * @return Number of sessions that have expired */ public int getExpiredSipSessions() { return sipManagerDelegate.getExpiredSipSessions(); }
/** * Gets the number of sessions that have expired. * * @return Number of sessions that have expired */ public int getExpiredSipApplicationSessions() { return sipManagerDelegate.getExpiredSipApplicationSessions(); }
/** * Return the maximum number of active Sessions allowed, or -1 for no limit. */ public int getMaxActiveSipApplicationSessions() { return this.sipManagerDelegate.getMaxActiveSipApplicationSessions(); }