public abstract class S13Session extends AppSessionImpl implements NetworkReqListener, StateMachine
| Modifier and Type | Field and Description |
|---|---|
static int |
_TX_TIMEOUT |
protected IS13MessageFactory |
messageFactory |
protected Lock |
sendAndStateLock |
protected IS13SessionData |
sessionData |
protected List<StateChangeListener> |
stateListeners |
protected static String |
TIMER_NAME_MSG_TIMEOUT |
appSessionData, scheduler, session, sessions, sf, timerFacility| Constructor and Description |
|---|
S13Session(ISessionFactory sf,
IS13SessionData sessionData) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStateChangeNotification(StateChangeListener listener) |
protected void |
cancelMsgTimer() |
boolean |
equals(Object obj) |
int |
hashCode() |
boolean |
isReplicable() |
boolean |
isStateless() |
void |
removeStateChangeNotification(StateChangeListener listener) |
protected void |
startMsgTimer() |
getCreationTime, getLastAccessedTime, getSessionAppId, getSessionId, getSessions, isAppSession, isValid, onTimer, releaseclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitprocessRequestgetState, handleEventpublic static final int _TX_TIMEOUT
protected Lock sendAndStateLock
protected transient List<StateChangeListener> stateListeners
protected transient IS13MessageFactory messageFactory
protected static final String TIMER_NAME_MSG_TIMEOUT
protected IS13SessionData sessionData
public S13Session(ISessionFactory sf, IS13SessionData sessionData)
public void addStateChangeNotification(StateChangeListener listener)
addStateChangeNotification in interface StateMachinepublic void removeStateChangeNotification(StateChangeListener listener)
removeStateChangeNotification in interface StateMachinepublic boolean isStateless()
isStateless in interface AppSessionpublic boolean isReplicable()
isReplicable in interface BaseSessionisReplicable in class AppSessionImplprotected void startMsgTimer()
protected void cancelMsgTimer()
public int hashCode()
hashCode in class AppSessionImplpublic boolean equals(Object obj)
equals in class AppSessionImplCopyright © 2016. All Rights Reserved.