|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BaseSession
The session delivery objects are responsible for delivering all incoming Message to a specific session. It determines the Diameter Session object that the message belongs to by querying the message's session id AVP. The delivery object searches the local session database for a matching session. If no matching session is found, the delivery object will lookup a matching session factory object that has an application id matching the application id of the message. If there is a registered session factory, then the delivery object will ask the factory to create a new session and delivery the message to the newly created session. If non of these lookup's are successful, the session delivery object will silently discard the message. Wrapper interface allows adapt message to any driver vendor specific interface Serializable interface allows use this class in SLEE Event objects
| Method Summary | |
|---|---|
long |
getCreationTime()
Returns the time when this session was created (milliseconds) Start point of time January 1, 1970 GMT. |
long |
getLastAccessedTime()
Returns the last time an event occurred on this session (milliseconds) Start point of time January 1, 1970 GMT. |
java.lang.String |
getSessionId()
|
boolean |
isAppSession()
Indicates if this is an App Session or a raw/base session |
boolean |
isReplicable()
Indicates if the session is replicable |
boolean |
isValid()
Return true if session is not released |
void |
release()
Release all resources append to session |
| Method Detail |
|---|
long getCreationTime()
long getLastAccessedTime()
boolean isValid()
void release()
boolean isAppSession()
boolean isReplicable()
java.lang.String getSessionId()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||