Examples of SipApplicationSessionImpl


Examples of com.ericsson.ssa.sip.SipApplicationSessionImpl

        if (session == null) {
            return (null);
        }

        SipApplicationSessionImpl activatedSession = null;

        if (!session.isValid()) {
            if (_logger.isLoggable(Level.INFO)) {
                _logger.log(Level.INFO,
                        "SipApplicationSession with id: " +
View Full Code Here

Examples of com.ericsson.ssa.sip.SipApplicationSessionImpl

            return;
        }

        Iterator it = applicationSessions.values().iterator();
        while (it.hasNext()) {
            SipApplicationSessionImpl session = (SipApplicationSessionImpl) it.next();
            //by virtue of being in the cache it is considered to
            //be not expired
            //but since invalidate is called before removal we must check
            if(session.isValid()
                && (session.getId() != null)
                && isSipApplicationSessionOlderThan(session, repairStartTime)          
                && session.lockBackground()) {
                try {
                    ((HASipApplicationSession)session).setReplicated(false);
                    ((HASipApplicationSession)session).setDirty(true, false);
                    saveSipApplicationSession(session);
                } catch (IOException ex) {
                    _logger.log(Level.WARNING,
                        "during repair unable to save SipApplicationSession:id = " + session.getId(),
                        ex);
                } finally {
                    session.unlockBackground();
                }                              
      }           
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.