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:
- java.io.Serializable, org.jdiameter.api.app.AppSession, org.jdiameter.api.app.StateMachine, org.jdiameter.api.NetworkReqListener
- Direct Known Subclasses:
- CxDxClientSessionImpl, CxDxServerSessionImpl
public abstract class CxDxSession
- extends AppSessionImpl
- implements org.jdiameter.api.NetworkReqListener, org.jdiameter.api.app.StateMachine
Start time:15:18:44 2009-08-17
Project: diameter-parent
- Author:
- Bartosz Baranowski , Alexandre Mendonca
- See Also:
- Serialized Form
|
Constructor Summary |
CxDxSession(org.jdiameter.api.SessionFactory sf)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jdiameter.api.NetworkReqListener |
processRequest |
| Methods inherited from interface org.jdiameter.api.app.StateMachine |
getState, handleEvent |
_TX_TIMEOUT
public static final int _TX_TIMEOUT
- See Also:
- Constant Field Values
sendAndStateLock
protected java.util.concurrent.locks.Lock sendAndStateLock
scheduler
protected java.util.concurrent.ScheduledExecutorService scheduler
stateListeners
protected java.util.List<org.jdiameter.api.app.StateChangeListener> stateListeners
state
protected CxDxSessionState state
timeoutTaskFuture
protected java.util.concurrent.Future timeoutTaskFuture
messageFactory
protected ICxDxMessageFactory messageFactory
sf
protected org.jdiameter.api.SessionFactory sf
CxDxSession
public CxDxSession(org.jdiameter.api.SessionFactory sf)
addStateChangeNotification
public void addStateChangeNotification(org.jdiameter.api.app.StateChangeListener listener)
- Specified by:
addStateChangeNotification in interface org.jdiameter.api.app.StateMachine
removeStateChangeNotification
public void removeStateChangeNotification(org.jdiameter.api.app.StateChangeListener listener)
- Specified by:
removeStateChangeNotification in interface org.jdiameter.api.app.StateMachine
isStateless
public boolean isStateless()
- Specified by:
isStateless in interface org.jdiameter.api.app.AppSession
Copyright © 2010. All Rights Reserved.