org.jdiameter.common.api.app
Class AppSessionDataLocalImpl

java.lang.Object
  extended by org.jdiameter.common.api.app.AppSessionDataLocalImpl
All Implemented Interfaces:
IAppSessionData
Direct Known Subclasses:
ClientAccSessionDataLocalImpl, ClientAuthSessionDataLocalImpl, ClientCCASessionDataLocalImpl, ClientGxSessionDataLocalImpl, ClientRfSessionDataLocalImpl, ClientRoSessionDataLocalImpl, ClientRxSessionDataLocalImpl, CxDxLocalSessionDataImpl, S6aLocalSessionDataImpl, ServerAccSessionDataLocalImpl, ServerAuthSessionDataLocalImpl, ServerCCASessionDataLocalImpl, ServerGxSessionDataLocalImpl, ServerRfSessionDataLocalImpl, ServerRoSessionDataLocalImpl, ServerRxSessionDataLocalImpl, ShClientSessionDataLocalImpl, ShServerSessionDataLocalImpl

public abstract class AppSessionDataLocalImpl
extends java.lang.Object
implements IAppSessionData

Author:
Bartosz Baranowski , Alexandre Mendonca

Field Summary
 
Fields inherited from interface org.jdiameter.common.api.app.IAppSessionData
NON_INITIALIZED
 
Constructor Summary
AppSessionDataLocalImpl()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 ApplicationId getApplicationId()
          Returns the Application-Id of this Session Data session to which this data belongs to.
 java.lang.String getSessionId()
          Returns the session-id of the session to which this data belongs to.
 int hashCode()
           
 boolean remove()
          Removes this session data from storage
 void setApplicationId(ApplicationId applicationId)
          Sets the Application-Id of this Session Data session to which this data belongs to.
 void setSessionId(java.lang.String sessionId)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppSessionDataLocalImpl

public AppSessionDataLocalImpl()
Method Detail

getSessionId

public java.lang.String getSessionId()
Description copied from interface: IAppSessionData
Returns the session-id of the session to which this data belongs to.

Specified by:
getSessionId in interface IAppSessionData
Returns:
a string representing the session-id

setSessionId

public void setSessionId(java.lang.String sessionId)

getApplicationId

public ApplicationId getApplicationId()
Description copied from interface: IAppSessionData
Returns the Application-Id of this Session Data session to which this data belongs to.

Specified by:
getApplicationId in interface IAppSessionData
Returns:
the Application-Id

setApplicationId

public void setApplicationId(ApplicationId applicationId)
Description copied from interface: IAppSessionData
Sets the Application-Id of this Session Data session to which this data belongs to.

Specified by:
setApplicationId in interface IAppSessionData
Parameters:
applicationId - the Application-Id

remove

public boolean remove()
Description copied from interface: IAppSessionData
Removes this session data from storage

Specified by:
remove in interface IAppSessionData
Returns:
true if removed, false otherwise

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


Copyright © 2014. All Rights Reserved.