org.jdiameter.common.impl.app.cxdx
Class CxDxSession
java.lang.Object
org.jdiameter.common.impl.app.AppSessionImpl
org.jdiameter.common.impl.app.cxdx.CxDxSession
- All Implemented Interfaces:
- AppSession, StateMachine, BaseSession, NetworkReqListener
- Direct Known Subclasses:
- CxDxClientSessionImpl, CxDxServerSessionImpl
public abstract class CxDxSession
- extends AppSessionImpl
- implements NetworkReqListener, StateMachine
- Author:
- Bartosz Baranowski , Alexandre Mendonca
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
_TX_TIMEOUT
public static final int _TX_TIMEOUT
- See Also:
- Constant Field Values
sendAndStateLock
protected java.util.concurrent.locks.Lock sendAndStateLock
stateListeners
protected transient java.util.List<StateChangeListener> stateListeners
messageFactory
protected transient ICxDxMessageFactory messageFactory
TIMER_NAME_MSG_TIMEOUT
protected static final java.lang.String TIMER_NAME_MSG_TIMEOUT
- See Also:
- Constant Field Values
sessionData
protected ICxDxSessionData sessionData
CxDxSession
public CxDxSession(ISessionFactory sf,
ICxDxSessionData sessionData)
addStateChangeNotification
public void addStateChangeNotification(StateChangeListener listener)
- Specified by:
addStateChangeNotification in interface StateMachine
removeStateChangeNotification
public void removeStateChangeNotification(StateChangeListener listener)
- Specified by:
removeStateChangeNotification in interface StateMachine
isStateless
public boolean isStateless()
- Specified by:
isStateless in interface AppSession
isReplicable
public boolean isReplicable()
- Specified by:
isReplicable in interface BaseSession- Overrides:
isReplicable in class AppSessionImpl
release
public void release()
- Specified by:
release in interface BaseSession- Overrides:
release in class AppSessionImpl
startMsgTimer
protected void startMsgTimer()
cancelMsgTimer
protected void cancelMsgTimer()
hashCode
public int hashCode()
- Overrides:
hashCode in class AppSessionImpl
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class AppSessionImpl
Copyright © 2014. All Rights Reserved.