org.jdiameter.common.api.app
Interface IAppSessionData

All Known Subinterfaces:
IAccSessionData, IAuthSessionData, ICCASessionData, IClientAccSessionData, IClientAuthSessionData, IClientCCASessionData, IClientCxDxSessionData, IClientGxSessionData, IClientRfSessionData, IClientRoSessionData, IClientRxSessionData, IClientS6aSessionData, ICxDxSessionData, IGxSessionData, IRfSessionData, IRoSessionData, IRxSessionData, IS6aSessionData, IServerAccSessionData, IServerAuthSessionData, IServerCCASessionData, IServerCxDxSessionData, IServerGxSessionData, IServerRfSessionData, IServerRoSessionData, IServerRxSessionData, IServerS6aSessionData, IShClientSessionData, IShServerSessionData, IShSessionData
All Known Implementing Classes:
AppSessionDataLocalImpl, ClientAccSessionDataLocalImpl, ClientAuthSessionDataLocalImpl, ClientCCASessionDataLocalImpl, ClientCxDxSessionDataLocalImpl, ClientGxSessionDataLocalImpl, ClientRfSessionDataLocalImpl, ClientRoSessionDataLocalImpl, ClientRxSessionDataLocalImpl, ClientS6aSessionDataLocalImpl, CxDxLocalSessionDataImpl, S6aLocalSessionDataImpl, ServerAccSessionDataLocalImpl, ServerAuthSessionDataLocalImpl, ServerCCASessionDataLocalImpl, ServerCxDxSessionDataLocalImpl, ServerGxSessionDataLocalImpl, ServerRfSessionDataLocalImpl, ServerRoSessionDataLocalImpl, ServerRxSessionDataLocalImpl, ServerS6aSessionDataLocalImpl, ShClientSessionDataLocalImpl, ShServerSessionDataLocalImpl

public interface IAppSessionData

Interface for Application Session Data

Author:
Bartosz Baranowski , Alexandre Mendonca

Field Summary
static int NON_INITIALIZED
           
 
Method Summary
 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.
 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.
 

Field Detail

NON_INITIALIZED

static final int NON_INITIALIZED
See Also:
Constant Field Values
Method Detail

getSessionId

java.lang.String getSessionId()
Returns the session-id of the session to which this data belongs to.

Returns:
a string representing the session-id

setApplicationId

void setApplicationId(ApplicationId applicationId)
Sets the Application-Id of this Session Data session to which this data belongs to.

Parameters:
applicationId - the Application-Id

getApplicationId

ApplicationId getApplicationId()
Returns the Application-Id of this Session Data session to which this data belongs to.

Returns:
the Application-Id

remove

boolean remove()
Removes this session data from storage

Returns:
true if removed, false otherwise


Copyright © 2014. All Rights Reserved.