类 PingPacketHandle
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<PingPacket>
moe.kawayi.org.utopia.server.net.handle.PingPacketHandle
- 所有已实现的接口:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public final class PingPacketHandle
extends io.netty.channel.SimpleChannelInboundHandler<PingPacket>
处理ping的handle
线程安全的(仅仅是返回输入的
PingPacket
包)-
嵌套类概要
从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
构造器概要
-
方法概要
修饰符和类型方法说明protected void
channelRead0
(io.netty.channel.ChannelHandlerContext ctx, PingPacket msg) 从类继承的方法 io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
构造器详细资料
-
PingPacketHandle
public PingPacketHandle()默认构造函数
-
-
方法详细资料
-
channelRead0
protected void channelRead0(@NotNull io.netty.channel.ChannelHandlerContext ctx, @NotNull PingPacket msg) throws Exception - 指定者:
channelRead0
在类中io.netty.channel.SimpleChannelInboundHandler<PingPacket>
- 抛出:
Exception
-