Class AbstractWebSocketStatusListener<E extends org.springframework.context.ApplicationEvent>
java.lang.Object
cn.herodotus.engine.message.websocket.definition.AbstractWebSocketStatusListener<E>
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<E>
- Direct Known Subclasses:
WebSocketConnectedListener,WebSocketDisconnectListener
public abstract class AbstractWebSocketStatusListener<E extends org.springframework.context.ApplicationEvent>
extends Object
implements org.springframework.context.ApplicationListener<E>
Description: 公共 WebSocketUserListener
- Author:
- : gengwei.zheng
- Date:
- : 2022/12/29 22:20
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractWebSocketStatusListener(WebSocketMessageSender webSocketMessageSender) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconnected(WebSocketPrincipal principal) protected voiddisconnected(WebSocketPrincipal principal) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
onApplicationEvent, supportsAsyncExecution
-
Constructor Details
-
AbstractWebSocketStatusListener
-
-
Method Details
-
connected
-
disconnected
-