Package com.ericsson.ssa.sip

Examples of com.ericsson.ssa.sip.PersistentSipSessionManagerBase


     */
    public void passivate() {
        notifySessionWillPassivate();

        // Remove from active cache
        PersistentSipSessionManagerBase mgr = (PersistentSipSessionManagerBase)
            getSipSessionManager();
        if (mgr != null) {
            mgr.removeSipSessionFromCache(this);
        }
    }
View Full Code Here


    }

    public void save() {
      if (!isValid()) return;
     
        PersistentSipSessionManagerBase sessionManager = (PersistentSipSessionManagerBase) getSipSessionManager();

        synchronized (getSipSessionObjectLock()) {
            try {
                sessionManager.saveSipSession(this);

                if (LogUtil.SSR_LOGGER.getLogger().isLoggable(Level.FINE)) {
                    LogUtil.SSR_LOGGER.getLogger().log(Level.FINE,
                                              "Saved " + toString());
                }
View Full Code Here

    }

    public void save() {
        // TODO consider introducing a synch object in ServletTimerImpl
        //
        PersistentSipSessionManagerBase sessionManager = (PersistentSipSessionManagerBase) getSipSessionManager();

        try {
            sessionManager.saveServletTimer(this);

            if (LOGGER.isLoggable(Level.FINE)) {
                LOGGER.log(Level.FINE, "Saved ServletTimer: " + getId());
            }
        } catch (IOException e) {
View Full Code Here

    }
   
    @Override
    protected ServletTimerImpl findServletTimerLocally(String anId, boolean loadDependencies) {
        // ignore the loadDependancies, this is a non-persistent timer only
        PersistentSipSessionManagerBase mgr = (PersistentSipSessionManagerBase)
        getSipSessionManager();   
        return mgr.findServletTimerFromCacheOnly(anId);
    }
View Full Code Here

        unitOfWork.lockApplicationSession(this);
        try {
            cancelNonPersistentTimers();

            // Remove from active cache
            PersistentSipSessionManagerBase mgr = (PersistentSipSessionManagerBase)
            getSipSessionManager();
            if (mgr != null) {
                mgr.removeSipApplicationSessionFromCache(this);
            }

            if (sasTimer != null) {
                sasTimer.cancel();
            }
View Full Code Here

    }

    public void save() {
      if (!isValid()) return;
     
        PersistentSipSessionManagerBase sessionManager =
            (PersistentSipSessionManagerBase) getSipSessionManager();

        synchronized (getSasObjectLock()) {
            try {
                sessionManager.saveSipApplicationSession(this);

                if (logger.isLoggable(Level.FINE)) {
                    logger.log(Level.FINE, "Saved " + toString());
                }
            } catch (IOException e) {
View Full Code Here

TOP

Related Classes of com.ericsson.ssa.sip.PersistentSipSessionManagerBase

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.