protected static class TioServerStarter.NopServerAioXXX extends Object implements org.tio.server.intf.ServerAioListener, org.tio.server.intf.ServerAioHandler
| 限定符 | 构造器和说明 |
|---|---|
protected |
NopServerAioXXX() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.tio.core.intf.Packet |
decode(ByteBuffer buffer,
int limit,
int position,
int readableLength,
org.tio.core.ChannelContext channelContext) |
ByteBuffer |
encode(org.tio.core.intf.Packet packet,
org.tio.core.GroupContext groupContext,
org.tio.core.ChannelContext channelContext) |
void |
handler(org.tio.core.intf.Packet packet,
org.tio.core.ChannelContext channelContext) |
void |
onAfterClose(org.tio.core.ChannelContext channelContext,
Throwable throwable,
String remark,
boolean isRemove) |
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 onBeforeClose(org.tio.core.ChannelContext channelContext,
Throwable throwable,
String remark,
boolean isRemove)
onBeforeClose 在接口中 org.tio.core.intf.AioListenerpublic void onAfterSent(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
boolean isSentSuccess)
throws Exception
onAfterSent 在接口中 org.tio.core.intf.AioListenerExceptionpublic void onAfterConnected(org.tio.core.ChannelContext channelContext,
boolean isConnected,
boolean isReconnect)
throws Exception
onAfterConnected 在接口中 org.tio.core.intf.AioListenerExceptionpublic void onAfterClose(org.tio.core.ChannelContext channelContext,
Throwable throwable,
String remark,
boolean isRemove)
throws Exception
Exceptionpublic ByteBuffer encode(org.tio.core.intf.Packet packet, org.tio.core.GroupContext groupContext, org.tio.core.ChannelContext channelContext)
encode 在接口中 org.tio.core.intf.AioHandlerpublic void handler(org.tio.core.intf.Packet packet,
org.tio.core.ChannelContext channelContext)
throws Exception
handler 在接口中 org.tio.core.intf.AioHandlerExceptionpublic void onAfterDecoded(org.tio.core.ChannelContext channelContext,
org.tio.core.intf.Packet packet,
int packetSize)
throws Exception
onAfterDecoded 在接口中 org.tio.core.intf.AioListenerExceptionpublic void onAfterReceivedBytes(org.tio.core.ChannelContext channelContext,
int receivedBytes)
throws Exception
onAfterReceivedBytes 在接口中 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 org.tio.core.intf.Packet decode(ByteBuffer buffer, int limit, int position, int readableLength, org.tio.core.ChannelContext channelContext) throws org.tio.core.exception.AioDecodeException
decode 在接口中 org.tio.core.intf.AioHandlerorg.tio.core.exception.AioDecodeExceptionCopyright © 2019. All rights reserved.