public class NoOpUserSessionService extends Object implements UserSessionService
Constructor and Description |
---|
NoOpUserSessionService() |
Modifier and Type | Method and Description |
---|---|
void |
userConnected(String userId,
String sessionId)
Method invoked when the user has been connected in real time to the application
|
void |
userDisconnected(String userId,
String sessionId)
Method invoked when the user has been disconnected from a single session the application
|
public void userConnected(String userId, String sessionId)
UserSessionService
userConnected
in interface UserSessionService
userId
- the id of the user that has connectedsessionId
- the id of the session that the user is connected topublic void userDisconnected(String userId, String sessionId)
UserSessionService
userDisconnected
in interface UserSessionService
userId
- the id of the user that has been disconnectedsessionId
- the session id that the user disconnected fromCopyright © 2019. All rights reserved.