Package io.datarouter.websocket.endpoint
Interface WebSocketService
- All Known Implementing Classes:
WebSocketIdService,WebSocketSubscriptionService
public interface WebSocketService
-
Method Summary
Modifier and Type Method Description StringgetName()default voidonClose(WebSocketSession webSocketSession)voidonMessage(WebSocketSession webSocketSession, String message)default voidonSessionVacuum(WebSocketSessionKey webSocketSessionKey)
-
Method Details
-
getName
String getName() -
onMessage
-
onClose
-
onSessionVacuum
-