Package com.kheops.jmap.server
Interface SessionManagerFacade
- All Superinterfaces:
JMapServerSessionCtrl
- All Known Implementing Classes:
LocalSessionManager
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcloseSession(int sessionId) voiddestroy()intMap<SessionType, com.kheops.jmap.server.JMapServerSessionManager.SessionCount> intgetSession(int sessionId) intintgetSessionCount(SessionType sessionType, boolean concurrent) intvoidinit()booleanisMaxSessionCountExceeded(int sessionId) booleanisSystemUser(User user) openSession(User user, InetAddress clientAddress, SessionType sessionType, int options) booleansessionExists(int sessionId) voidsetSessionLastRequestTime(int sessionId) voidsetSessionProjectId(int sessionId, int projectId) Methods inherited from interface com.kheops.jmap.server.JMapServerSessionCtrl
addSessionListener, getSessionUser, isSystemSessionId, removeSessionListener
-
Method Details
-
openSession
JMapServerSessionStatus openSession(User user, InetAddress clientAddress, SessionType sessionType, int options) -
getSession
-
getCurrentSessionCount
Map<SessionType,com.kheops.jmap.server.JMapServerSessionManager.SessionCount> getCurrentSessionCount() -
getCurrentSessions
-
getCurrentSessionsInfos
Collection<JMapServerSession> getCurrentSessionsInfos() -
closeSession
void closeSession(int sessionId) -
closeAllSessions
void closeAllSessions() -
setSessionLastRequestTime
void setSessionLastRequestTime(int sessionId) -
setSessionProjectId
void setSessionProjectId(int sessionId, int projectId) -
init
void init() -
destroy
void destroy() -
getSystemSessionId
int getSystemSessionId() -
getSessionCount
int getSessionCount() -
getSessionCount
-
getConcurrentSessionCount
int getConcurrentSessionCount() -
getReservedSessionCount
int getReservedSessionCount() -
isSystemUser
-
sessionExists
boolean sessionExists(int sessionId) -
isMaxSessionCountExceeded
boolean isMaxSessionCountExceeded(int sessionId)
-