org.jdiameter.common.impl.app
Class AppSessionImpl

java.lang.Object
  extended by org.jdiameter.common.impl.app.AppSessionImpl
All Implemented Interfaces:
java.io.Serializable, org.jdiameter.api.app.AppSession
Direct Known Subclasses:
AppAccSessionImpl, AppAuthSessionImpl, ShSession

public abstract class AppSessionImpl
extends java.lang.Object
implements org.jdiameter.api.app.AppSession

See Also:
Serialized Form

Field Summary
protected  org.jdiameter.api.ApplicationId appId
           
protected static org.apache.log4j.Logger logger
           
protected  org.jdiameter.api.Session session
           
 
Constructor Summary
AppSessionImpl()
           
 
Method Summary
 long getCreationTime()
           
 long getLastAccessedTime()
           
 org.jdiameter.api.ApplicationId getSessionAppId()
           
 java.util.List<org.jdiameter.api.Session> getSessions()
           
 boolean isValid()
           
 void release()
           
 
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.app.AppSession
isStateless
 

Field Detail

logger

protected static final org.apache.log4j.Logger logger

session

protected org.jdiameter.api.Session session

appId

protected org.jdiameter.api.ApplicationId appId
Constructor Detail

AppSessionImpl

public AppSessionImpl()
Method Detail

getCreationTime

public long getCreationTime()
Specified by:
getCreationTime in interface org.jdiameter.api.app.AppSession

getLastAccessedTime

public long getLastAccessedTime()
Specified by:
getLastAccessedTime in interface org.jdiameter.api.app.AppSession

isValid

public boolean isValid()
Specified by:
isValid in interface org.jdiameter.api.app.AppSession

getSessionAppId

public org.jdiameter.api.ApplicationId getSessionAppId()
Specified by:
getSessionAppId in interface org.jdiameter.api.app.AppSession

getSessions

public java.util.List<org.jdiameter.api.Session> getSessions()
Specified by:
getSessions in interface org.jdiameter.api.app.AppSession

release

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


Copyright © 2008. All Rights Reserved.