Interface GatewaySessionManager
- 
public interface GatewaySessionManager 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientReqSessionfindSession(java.lang.String id)java.util.List<ClientReqSession>findSessions()java.util.List<ClientReqSession>findSessions(int scope)ClientReqSessiongetSessionContext()intgetSessionCount()voidsendNotification(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
@Nullable ClientReqSession findSession(java.lang.String id)
 
- 
findSessions
@Nonnull java.util.List<ClientReqSession> findSessions()
 
- 
findSessions
@Nonnull java.util.List<ClientReqSession> findSessions(int scope)
 
- 
getSessionCount
int getSessionCount()
 
- 
getSessionContext
@Nullable ClientReqSession getSessionContext()
 
- 
sendNotification
void sendNotification(int scope, java.lang.String moduleId, java.lang.String messageType, java.io.Serializable message) throws java.lang.ExceptionSends the given push notification message to all sessions that match the scope.- Throws:
 java.lang.Exception- See Also:
 ApplicationScope
 
 - 
 
 -