类 CmdCheckHandler

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<BarMessage>
com.iohao.game.external.core.netty.handler.CmdCheckHandler
所有已实现的接口:
CmdRegionsAware, io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

@Sharable public final class CmdCheckHandler extends io.netty.channel.SimpleChannelInboundHandler<BarMessage> implements CmdRegionsAware
路由是否存在检测
     115

     当路由不存在时,可以起到抵挡的作用,而不必经过其他服务器。
 
作者:
渔民小镇
日期:
2023-05-01
  • 嵌套类概要

    从接口继承的嵌套类/接口 io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    protected void
    channelRead0(io.netty.channel.ChannelHandlerContext ctx, BarMessage message)
     
    me()
     
    void
     

    从类继承的方法 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
  • 构造器详细资料

    • CmdCheckHandler

      public CmdCheckHandler()
  • 方法详细资料

    • channelRead0

      protected void channelRead0(io.netty.channel.ChannelHandlerContext ctx, BarMessage message)
      指定者:
      channelRead0 在类中 io.netty.channel.SimpleChannelInboundHandler<BarMessage>
    • setCmdRegions

      public void setCmdRegions(CmdRegions cmdRegions)
      指定者:
      setCmdRegions 在接口中 CmdRegionsAware
    • me

      public static CmdCheckHandler me()