Package com.kheops.jmap.server
Interface SessionManagerFacade
- All Superinterfaces:
JMapServerSessionCtrl
- All Known Implementing Classes:
LocalSessionManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
closeSession
(int sessionId) void
destroy()
int
Map
<SessionType, com.kheops.jmap.server.JMapServerSessionManager.SessionCount> int
getSession
(int sessionId) int
int
getSessionCount
(SessionType sessionType, boolean concurrent) int
void
init()
boolean
isMaxSessionCountExceeded
(int sessionId) boolean
isSystemUser
(User user) openSession
(User user, InetAddress clientAddress, SessionType sessionType, int options) boolean
sessionExists
(int sessionId) void
setSessionLastRequestTime
(int sessionId) void
setSessionProjectId
(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)
-