public class WsServerAioListener extends Object implements org.tio.server.intf.ServerAioListener
| 构造器和说明 |
|---|
WsServerAioListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
onAfterConnected(org.tio.core.ChannelContext channelContext,
boolean isConnected,
boolean isReconnect) |
void |
onAfterDecoded(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
int packetSize) |
void |
onAfterHandled(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
long cost) |
void |
onAfterReceivedBytes(org.tio.core.ChannelContext channelContext,
int receivedBytes) |
void |
onAfterSent(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
boolean isSentSuccess) |
void |
onBeforeClose(org.tio.core.ChannelContext channelContext,
Throwable throwable,
String remark,
boolean isRemove) |
boolean |
onHeartbeatTimeout(org.tio.core.ChannelContext channelContext,
Long interval,
int heartbeatTimeoutCount) |
public void onAfterConnected(org.tio.core.ChannelContext channelContext,
boolean isConnected,
boolean isReconnect)
throws Exception
onAfterConnected 在接口中 org.tio.core.intf.AioListenerExceptionpublic void onAfterDecoded(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
int packetSize)
throws Exception
onAfterDecoded 在接口中 org.tio.core.intf.AioListenerExceptionpublic void onAfterSent(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
boolean isSentSuccess)
throws Exception
onAfterSent 在接口中 org.tio.core.intf.AioListenerExceptionpublic void onBeforeClose(org.tio.core.ChannelContext channelContext,
Throwable throwable,
String remark,
boolean isRemove)
throws Exception
onBeforeClose 在接口中 org.tio.core.intf.AioListenerExceptionpublic void onAfterHandled(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
long cost)
throws Exception
onAfterHandled 在接口中 org.tio.core.intf.AioListenerExceptionpublic void onAfterReceivedBytes(org.tio.core.ChannelContext channelContext,
int receivedBytes)
throws Exception
onAfterReceivedBytes 在接口中 org.tio.core.intf.AioListenerExceptionpublic boolean onHeartbeatTimeout(org.tio.core.ChannelContext channelContext,
Long interval,
int heartbeatTimeoutCount)
onHeartbeatTimeout 在接口中 org.tio.server.intf.ServerAioListenerCopyright © 2021. All rights reserved.