Package io.datarouter.websocket.service
Class WebSocketSubscriptionService
java.lang.Object
io.datarouter.websocket.service.WebSocketSubscriptionService
- All Implemented Interfaces:
WebSocketService
@Singleton public class WebSocketSubscriptionService extends Object implements WebSocketService
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebSocketSubscriptionService.WebSocketSubscriptionRequest -
Constructor Summary
Constructors Constructor Description WebSocketSubscriptionService() -
Method Summary
Modifier and Type Method Description StringgetName()voidonClose(WebSocketSession webSocketSession)voidonMessage(WebSocketSession webSocketSession, String message)voidonSessionVacuum(WebSocketSessionKey webSocketSessionKey)
-
Constructor Details
-
WebSocketSubscriptionService
public WebSocketSubscriptionService()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceWebSocketService
-
onMessage
- Specified by:
onMessagein interfaceWebSocketService
-
onClose
- Specified by:
onClosein interfaceWebSocketService
-
onSessionVacuum
- Specified by:
onSessionVacuumin interfaceWebSocketService
-