org.jdiameter.common.impl.app
Class AppSessionImpl
java.lang.Object
org.jdiameter.common.impl.app.AppSessionImpl
- All Implemented Interfaces:
- java.io.Serializable, AppSession, BaseSession
- Direct Known Subclasses:
- AppAccSessionImpl, AppAuthSessionImpl, AppCCASessionImpl, AppRfSessionImpl, AppRoSessionImpl, CxDxSession, ShSession
public abstract class AppSessionImpl
- extends java.lang.Object
- implements AppSession
Abstract implementation for AppSession
- Author:
- Alexandre Mendonca , Bartosz Baranowski
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessionId
protected java.lang.String sessionId
appId
protected ApplicationId appId
session
protected transient Session session
sf
protected transient SessionFactory sf
scheduler
protected transient java.util.concurrent.ScheduledExecutorService scheduler
sessionDataSource
protected transient ISessionDatasource sessionDataSource
timerFacility
protected transient ITimerFacility timerFacility
AppSessionImpl
public AppSessionImpl()
- Deprecated.
AppSessionImpl
public AppSessionImpl(SessionFactory sf,
java.lang.String sessionId)
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTime in interface BaseSession
getLastAccessedTime
public long getLastAccessedTime()
- Specified by:
getLastAccessedTime in interface BaseSession
isValid
public boolean isValid()
- Specified by:
isValid in interface BaseSession
getSessionAppId
public ApplicationId getSessionAppId()
- Specified by:
getSessionAppId in interface AppSession
getSessions
public java.util.List<Session> getSessions()
- Specified by:
getSessions in interface AppSession
release
public void release()
- Specified by:
release in interface BaseSession
getSessionId
public java.lang.String getSessionId()
- Specified by:
getSessionId in interface BaseSession
isAppSession
public boolean isAppSession()
- Specified by:
isAppSession in interface BaseSession
isReplicable
public boolean isReplicable()
- Specified by:
isReplicable in interface BaseSession
relink
public void relink(IContainer stack)
onTimer
public void onTimer(java.lang.String timerName)
Copyright © 2010. All Rights Reserved.