|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserSessionMonitor
Interface UserSessionMonitor is used to immediately manage all the user sessions
and take charge of communicating with UserSessionManager and other modules.
| Method Summary | |
|---|---|
java.util.Vector |
getAllUserSessions()
Obtains all the user sessions in the current server. |
java.util.Vector |
getAllUserSessionsByUserID(java.lang.String userID)
Obtains all the user sessions by the specified user ID. |
javax.servlet.http.HttpSession |
getHttpSession(java.lang.String usID)
Obtains a Http session which associated with a specified User session. |
int |
getSessionTimeout()
Obtains the current user session's Timeout value. |
java.util.Vector |
getSortedUserSessions(java.util.Vector origVec,
int[] orderArr)
Sorts a user sessions vector by the specified ordered array. |
void |
removeAllSelectedUserSessions(java.lang.String[] sIDArr)
Removes all the selected user sessions identified by the specified session ID array. |
void |
removeAllUserSessions()
Removes all the user sessions in the current server. |
void |
removeUserSessionBySessionID(java.lang.String sessinID)
Removes a user session by the specified session ID. |
void |
removeUserSessionsByUserID(java.lang.String userID)
Removes all the user sessions classified by the specified userID. |
void |
setSessionTimeout(int sTimeout)
Resets user session's Timeout value. |
| Method Detail |
|---|
java.util.Vector getAllUserSessions()
java.util.Vector getAllUserSessionsByUserID(java.lang.String userID)
userID - the specified user ID.
java.util.Vector getSortedUserSessions(java.util.Vector origVec,
int[] orderArr)
origVec - the original Vector, which needs to be sorted.orderArr - user sessions will be sorted by these parameter's order.
void removeUserSessionBySessionID(java.lang.String sessinID)
sessionID - the specific session ID.void removeUserSessionsByUserID(java.lang.String userID)
userID - the specific user ID.void removeAllSelectedUserSessions(java.lang.String[] sIDArr)
sIDArr - a array of user sessions ID.void removeAllUserSessions()
void setSessionTimeout(int sTimeout)
sTimeout - the seconds of user session's new Timeout value.int getSessionTimeout()
javax.servlet.http.HttpSession getHttpSession(java.lang.String usID)
usID - the specified user session ID.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||