public abstract class S6aSession extends AppSessionImpl implements NetworkReqListener, StateMachine
| Modifier and Type | Field and Description |
|---|---|
static int |
_TX_TIMEOUT |
protected IS6aMessageFactory |
messageFactory |
protected Lock |
sendAndStateLock |
protected IS6aSessionData |
sessionData |
protected List<StateChangeListener> |
stateListeners |
protected static String |
TIMER_NAME_MSG_TIMEOUT |
appSessionData, scheduler, session, sessions, sf, timerFacility| Constructor and Description |
|---|
S6aSession(ISessionFactory sf,
IS6aSessionData 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 IS6aMessageFactory messageFactory
protected static final String TIMER_NAME_MSG_TIMEOUT
protected IS6aSessionData sessionData
public S6aSession(ISessionFactory sf, IS6aSessionData 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.