Package org.serviceconnector.service

Examples of org.serviceconnector.service.FileSession.resetExecuteTime()


      break;
    }

    FileSession session = (FileSession) this.getSessionById(message.getSessionId());
    // sets the time of last execution
    session.resetExecuteTime();
    // reset session timeout to OTI+ECI - during wait for server reply
    int otiOnSCMillis = (int) (oti * basicConf.getOperationTimeoutMultiplier());
    double otiOnSCSeconds = (otiOnSCMillis / Constants.SEC_TO_MILLISEC_FACTOR);
    this.sessionRegistry.resetSessionTimeout(session, (otiOnSCSeconds + session.getSessionTimeoutMillis()));

View Full Code Here


      break;
    }

    FileSession session = (FileSession) this.getSessionById(message.getSessionId());
    // sets the time of last execution
    session.resetExecuteTime();
    // reset session timeout to OTI+ECI - during wait for server reply
    int otiOnSCMillis = (int) (oti * basicConf.getOperationTimeoutMultiplier());
    double otiOnSCSeconds = (otiOnSCMillis / Constants.SEC_TO_MILLISEC_FACTOR);
    this.sessionRegistry.resetSessionTimeout(session, (otiOnSCSeconds + session.getSessionTimeoutMillis()));
    SCMPMessage reply = null;
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.