public abstract class CxDxSession extends AppSessionImpl implements NetworkReqListener, StateMachine
| Modifier and Type | Field and Description |
|---|---|
static int |
_TX_TIMEOUT |
protected ICxDxMessageFactory |
messageFactory |
protected Lock |
sendAndStateLock |
protected ICxDxSessionData |
sessionData |
protected List<StateChangeListener> |
stateListeners |
protected static String |
TIMER_NAME_MSG_TIMEOUT |
appSessionData, scheduler, session, sessions, sf, timerFacility| Constructor and Description |
|---|
CxDxSession(ISessionFactory sf,
ICxDxSessionData 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 |
release() |
void |
removeStateChangeNotification(StateChangeListener listener) |
protected void |
startMsgTimer() |
getCreationTime, getLastAccessedTime, getSessionAppId, getSessionId, getSessions, isAppSession, isValid, onTimerclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitprocessRequestgetState, handleEventpublic static final int _TX_TIMEOUT
protected Lock sendAndStateLock
protected transient List<StateChangeListener> stateListeners
protected transient ICxDxMessageFactory messageFactory
protected static final String TIMER_NAME_MSG_TIMEOUT
protected ICxDxSessionData sessionData
public CxDxSession(ISessionFactory sf, ICxDxSessionData 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 AppSessionImplpublic void release()
release in interface BaseSessionrelease 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.