org.jdiameter.common.impl.app.cca
Class AppCCASessionImpl

java.lang.Object
  extended by org.jdiameter.common.impl.app.AppSessionImpl
      extended by org.jdiameter.common.impl.app.cca.AppCCASessionImpl
All Implemented Interfaces:
java.io.Serializable, org.jdiameter.api.app.AppSession, org.jdiameter.api.app.StateMachine, org.jdiameter.api.NetworkReqListener
Direct Known Subclasses:
ClientCCASessionImpl, ServerCCASessionImpl

public abstract class AppCCASessionImpl
extends AppSessionImpl
implements org.jdiameter.api.NetworkReqListener, org.jdiameter.api.app.StateMachine

AppCCASessionImpl.java
Super project: mobicents
5:00:55 PM Dec 2, 2008

Author:
Bartosz Baranowski , Alexandre Mendonca
See Also:
Serialized Form

Field Summary
protected  org.slf4j.Logger logger
           
protected  java.util.concurrent.ScheduledExecutorService scheduler
           
protected  java.util.concurrent.locks.Lock sendAndStateLock
           
protected  org.jdiameter.api.SessionFactory sf
           
protected  java.util.List<org.jdiameter.api.app.StateChangeListener> stateListeners
           
 
Fields inherited from class org.jdiameter.common.impl.app.AppSessionImpl
appId, session
 
Constructor Summary
AppCCASessionImpl(org.jdiameter.api.SessionFactory sf)
           
 
Method Summary
 void addStateChangeNotification(org.jdiameter.api.app.StateChangeListener listener)
           
 void release()
           
 void removeStateChangeNotification(org.jdiameter.api.app.StateChangeListener listener)
           
 
Methods inherited from class org.jdiameter.common.impl.app.AppSessionImpl
getCreationTime, getLastAccessedTime, getSessionAppId, getSessions, isValid
 
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
 

Field Detail

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

logger

protected org.slf4j.Logger logger

sf

protected org.jdiameter.api.SessionFactory sf
Constructor Detail

AppCCASessionImpl

public AppCCASessionImpl(org.jdiameter.api.SessionFactory sf)
Method Detail

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

release

public void release()
Specified by:
release in interface org.jdiameter.api.app.AppSession
Overrides:
release in class AppSessionImpl


Copyright © 2010. All Rights Reserved.