类 DefaultSocketIdleHook
java.lang.Object
com.iohao.game.external.core.netty.hook.DefaultSocketIdleHook
- 所有已实现的接口:
IdleHook<io.netty.handler.timeout.IdleStateEvent>
,SocketIdleHook
tcp、websocket 心跳钩子
- 作者:
- 渔民小镇
- 日期:
- 2023-02-18
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
callback
(UserSession userSession, io.netty.handler.timeout.IdleStateEvent event) 心跳事件回调从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 com.iohao.game.external.core.hook.IdleHook
pongBefore