public class ImDemoAioListener extends ImServerAioListener
Constructor and Description |
---|
ImDemoAioListener() |
Modifier and Type | Method and Description |
---|---|
void |
onAfterSent(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
boolean isSentSuccess)
消息包发送之后触发本方法
|
onAfterConnected, onAfterDecoded, onAfterHandled, onAfterReceivedBytes, onBeforeClose
public void onAfterSent(org.tio.core.ChannelContext channelContext, org.tio.core.intf.Packet packet, boolean isSentSuccess)
ImServerAioListener
onAfterSent
in interface org.tio.core.intf.AioListener
onAfterSent
in class ImServerAioListener
isSentSuccess
- true:发送成功,false:发送失败Copyright © 2018. All rights reserved.