org.jdiameter.common.impl.app.sh
Class ShSession
java.lang.Object
org.jdiameter.common.impl.app.AppSessionImpl
org.jdiameter.common.impl.app.sh.ShSession
- All Implemented Interfaces:
- java.io.Serializable, org.jdiameter.api.app.AppSession, org.jdiameter.api.app.StateMachine, org.jdiameter.api.NetworkReqListener
- Direct Known Subclasses:
- ShClientSessionImpl, ShServerSessionImpl
public abstract class ShSession
- extends AppSessionImpl
- implements org.jdiameter.api.NetworkReqListener, org.jdiameter.api.app.StateMachine
- See Also:
- Serialized Form
|
Field Summary |
protected java.util.concurrent.ScheduledThreadPoolExecutor |
scheduler
|
protected java.util.concurrent.locks.Lock |
sendAndStateLock
|
protected java.util.List<org.jdiameter.api.app.StateChangeListener> |
stateListeners
|
| 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 |
| Methods inherited from interface org.jdiameter.api.app.AppSession |
isStateless |
sendAndStateLock
protected java.util.concurrent.locks.Lock sendAndStateLock
scheduler
protected java.util.concurrent.ScheduledThreadPoolExecutor scheduler
stateListeners
protected java.util.List<org.jdiameter.api.app.StateChangeListener> stateListeners
ShSession
public ShSession()
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
createAccountRequest
protected org.jdiameter.api.acc.events.AccountRequest createAccountRequest(org.jdiameter.api.Request request)
createAccountAnswer
protected org.jdiameter.api.acc.events.AccountAnswer createAccountAnswer(org.jdiameter.api.Answer answer)
release
public void release()
- Specified by:
release in interface org.jdiameter.api.app.AppSession- Overrides:
release in class AppSessionImpl
Copyright © 2008. All Rights Reserved.