org.jdiameter.common.impl.app
Class AppSessionImpl
java.lang.Object
org.jdiameter.common.impl.app.AppSessionImpl
- All Implemented Interfaces:
- AppSession, BaseSession
- Direct Known Subclasses:
- AppAccSessionImpl, AppAuthSessionImpl, AppCCASessionImpl, AppGxSessionImpl, AppRfSessionImpl, AppRoSessionImpl, AppRxSessionImpl, CxDxSession, S6aSession, ShSession
public abstract class AppSessionImpl
- extends java.lang.Object
- implements AppSession
Abstract implementation for AppSession
- Author:
- Alexandre Mendonca , Bartosz Baranowski
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
appSessionData
protected IAppSessionData appSessionData
sessions
protected java.util.List<Session> sessions
session
protected Session session
sf
protected ISessionFactory sf
scheduler
protected java.util.concurrent.ScheduledExecutorService scheduler
timerFacility
protected ITimerFacility timerFacility
AppSessionImpl
public AppSessionImpl(ISessionFactory sf,
IAppSessionData appSessionData)
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
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
onTimer
public abstract void onTimer(java.lang.String timerName)
Copyright © 2014. All Rights Reserved.