IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.clientserver
Class CSSessionManager

java.lang.Object
  extended by com.ibm.btt.clientserver.CSSessionManager

public class CSSessionManager
extends java.lang.Object

This thread has the responsability of find the expired sessions. A session is considered expired as long as has reached a timeout from its last request processed. This timeout is an attribute of the CSServer Service. The thread remains asleep during a given period of time, then performs the check. This process repeats until the stop method is called. The time that the thread will sleep is an attribute of CSServer called timeBetweenSessionCheck. When a session has expired, two actions are performed: marking it as expired, this changing the expired value of the session entry to true, and firing an CSInactivityClientEvent.


Constructor Summary
CSSessionManager()
           
 
Method Summary
 void start()
          Start session check.
 void stop()
          Stop session check
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSSessionManager

public CSSessionManager()
Method Detail

start

public void start()
Start session check. Schedule a timer task for a given time (set in the CSServerService) and calls the CSServer.checkExpiredSessions method, which will look for expired sessions. Once a expired session is found, it is marked as expired and an event is triggered.


stop

public void stop()
Stop session check


IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011