public class ClusterTcpServerListener extends Object implements TioServerListener
| Constructor and Description |
|---|
ClusterTcpServerListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onBeforeClose(ChannelContext context,
Throwable throwable,
String remark,
boolean isRemove)
连接关闭前触发本方法
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonHeartbeatTimeoutonAfterConnected, onAfterDecoded, onAfterHandled, onAfterReceivedBytes, onAfterSentpublic void onBeforeClose(ChannelContext context, Throwable throwable, String remark, boolean isRemove) throws Exception
TioListeneronBeforeClose in interface TioListenercontext - the ChannelContextthrowable - the throwable 有可能为空remark - the remark 有可能为空isRemove - isRemoveException - ExceptionCopyright © 2025. All rights reserved.