Interface GatewaySessionManager
-
public interface GatewaySessionManager
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientReqSession
findSession(java.lang.String id)
java.util.List<ClientReqSession>
findSessions()
java.util.List<ClientReqSession>
findSessions(int scope)
ClientReqSession
getSessionContext()
int
getSessionCount()
void
sendNotification(int scope, java.lang.String moduleId, java.lang.String messageType, java.io.Serializable message)
Sends the given push notification message to all sessions that match the scope.
-
-
-
Method Detail
-
findSession
ClientReqSession findSession(java.lang.String id)
-
findSessions
java.util.List<ClientReqSession> findSessions()
-
findSessions
java.util.List<ClientReqSession> findSessions(int scope)
-
getSessionCount
int getSessionCount()
-
getSessionContext
ClientReqSession getSessionContext()
-
sendNotification
void sendNotification(int scope, java.lang.String moduleId, java.lang.String messageType, java.io.Serializable message) throws java.lang.Exception
Sends the given push notification message to all sessions that match the scope.- Throws:
java.lang.Exception
- See Also:
ApplicationScope
-
-