类 DefaultLongHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<T>
com.walker.tcp.netty.AbstractChannelInBoundHandler<Object>
com.walker.tcp.netty.DefaultLongHandler
所有已实现的接口:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
直接已知子类:
WebSocketNettyHandler

@Sharable public class DefaultLongHandler extends AbstractChannelInBoundHandler<Object>
使用netty实现的通信处理handler,该handler调用的方法通过自己的handler来适配处理。
作者:
时克英
  • 构造器详细资料

    • DefaultLongHandler

      public DefaultLongHandler()
  • 方法详细资料

    • channelRead0

      protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
      指定者:
      channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<Object>
      抛出:
      Exception
    • channelReadComplete

      public void channelReadComplete(io.netty.channel.ChannelHandlerContext ctx) throws Exception
      指定者:
      channelReadComplete 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelReadComplete 在类中 io.netty.channel.ChannelInboundHandlerAdapter
      抛出:
      Exception