Package io.datarouter.websocket.service
Class WebSocketIdService
java.lang.Object
io.datarouter.websocket.service.WebSocketIdService
- All Implemented Interfaces:
WebSocketService
public class WebSocketIdService extends Object implements WebSocketService
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWebSocketIdService.WebSocketIdResponse -
Constructor Summary
Constructors Constructor Description WebSocketIdService() -
Method Summary
Modifier and Type Method Description StringgetName()voidonMessage(WebSocketSession webSocketSession, String message)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.websocket.endpoint.WebSocketService
onClose, onSessionVacuum
-
Constructor Details
-
WebSocketIdService
public WebSocketIdService()
-
-
Method Details
-
getName
- Specified by:
getNamein interfaceWebSocketService
-
onMessage
- Specified by:
onMessagein interfaceWebSocketService
-