程序包 cn.wzpmc.network
类 HandshakePacketHandler
- java.lang.Object
-
- io.netty.channel.ChannelHandlerAdapter
-
- io.netty.channel.ChannelInboundHandlerAdapter
-
- io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>
-
- cn.wzpmc.network.HandshakePacketHandler
-
- 所有已实现的接口:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class HandshakePacketHandler extends io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>
握手包处理器- 从以下版本开始:
- 2024/7/31 上午3:53
-
-
构造器概要
构造器 构造器 说明 HandshakePacketHandler()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 void
channelActive(io.netty.channel.ChannelHandlerContext ctx)
protected void
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext, io.netty.handler.codec.http.FullHttpResponse fullHttpResponse)
-
从类继承的方法 io.netty.channel.ChannelInboundHandlerAdapter
channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
-
从类继承的方法 io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
-
-
-
方法详细资料
-
channelActive
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
- 指定者:
channelActive
在接口中io.netty.channel.ChannelInboundHandler
- 覆盖:
channelActive
在类中io.netty.channel.ChannelInboundHandlerAdapter
-
channelRead0
protected void channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext, io.netty.handler.codec.http.FullHttpResponse fullHttpResponse)
- 指定者:
channelRead0
在类中io.netty.channel.SimpleChannelInboundHandler<io.netty.handler.codec.http.FullHttpResponse>
-
-