Class WebSocketConnectedListener
java.lang.Object
cn.herodotus.engine.message.websocket.definition.AbstractWebSocketStatusListener<org.springframework.web.socket.messaging.SessionConnectedEvent>
cn.herodotus.engine.message.websocket.listener.WebSocketConnectedListener
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.web.socket.messaging.SessionConnectedEvent>
@Component
public class WebSocketConnectedListener
extends AbstractWebSocketStatusListener<org.springframework.web.socket.messaging.SessionConnectedEvent>
Description: WebSocketUserOnlineListener
- Author:
- : gengwei.zheng
- Date:
- : 2022/12/29 22:17
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.web.socket.messaging.SessionConnectedEvent event) Methods inherited from class cn.herodotus.engine.message.websocket.definition.AbstractWebSocketStatusListener
connected, disconnectedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
WebSocketConnectedListener
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.web.socket.messaging.SessionConnectedEvent event)
-