类 ServerConnectionListener.LatencySimulator

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
net.minecraft.server.network.ServerConnectionListener.LatencySimulator
所有已实现的接口:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler
封闭类:
ServerConnectionListener

static class ServerConnectionListener.LatencySimulator extends io.netty.channel.ChannelInboundHandlerAdapter
  • 嵌套类概要

    嵌套类
    修饰符和类型
    说明
    (专用程序包) static class 
     

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

    io.netty.channel.ChannelHandler.Sharable
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    private final int
     
    private final int
     
     
    private static final io.netty.util.Timer
     
  • 构造器概要

    构造器
    构造器
    说明
    LatencySimulator(int p_143593_, int p_143594_)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    channelRead(io.netty.channel.ChannelHandlerContext p_143601_, Object p_143602_)
     
    private void
    delayDownstream(io.netty.channel.ChannelHandlerContext p_143596_, Object p_143597_)
     
    private void
    onTimeout(io.netty.util.Timeout p_143599_)
     

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

  • 构造器详细资料

    • LatencySimulator

      public LatencySimulator(int p_143593_, int p_143594_)
  • 方法详细资料

    • channelRead

      public void channelRead(io.netty.channel.ChannelHandlerContext p_143601_, Object p_143602_)
      指定者:
      channelRead 在接口中 io.netty.channel.ChannelInboundHandler
      覆盖:
      channelRead 在类中 io.netty.channel.ChannelInboundHandlerAdapter
    • delayDownstream

      private void delayDownstream(io.netty.channel.ChannelHandlerContext p_143596_, Object p_143597_)
    • onTimeout

      private void onTimeout(io.netty.util.Timeout p_143599_)