public class WsTioClientListener extends Object implements org.tio.client.intf.TioClientListener
| 构造器和说明 |
|---|
WsTioClientListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
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) |
public void onAfterConnected(org.tio.core.ChannelContext channelContext,
boolean isConnected,
boolean isReconnect)
throws Exception
onAfterConnected 在接口中 org.tio.core.intf.TioListenerExceptionpublic void onAfterDecoded(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
int packetSize)
throws Exception
onAfterDecoded 在接口中 org.tio.core.intf.TioListenerExceptionpublic void onAfterReceivedBytes(org.tio.core.ChannelContext channelContext,
int receivedBytes)
throws Exception
onAfterReceivedBytes 在接口中 org.tio.core.intf.TioListenerExceptionpublic void onAfterSent(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
boolean isSentSuccess)
throws Exception
onAfterSent 在接口中 org.tio.core.intf.TioListenerExceptionpublic void onAfterHandled(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
long cost)
throws Exception
onAfterHandled 在接口中 org.tio.core.intf.TioListenerExceptionCopyright © 2022. All rights reserved.