net.minecraft.server.network

class ServerConnectionListener$LatencySimulator

extends io.netty.channel.ChannelInboundHandlerAdapter

atj$a
net.minecraft.server.network.ServerConnectionListener$LatencySimulator
net.minecraft.class_3242$class_5980
net.minecraft.server.ServerNetworkIo$DelayingChannelInboundHandler
net.minecraft.server.network.ServerConnection$LatencySimulator

Field summary

Modifier and TypeField
private static final io.netty.util.Timer
a
TIMER
field_29772
TIMER
private final int
b
delay
field_29773
baseDelay
private final int
c
jitter
field_29774
extraDelay
private final List<ServerConnectionListener$LatencySimulator$DelayedMessage>
d
queuedMessages
field_29775
packets

Constructor summary

ModifierConstructor
public (int baseDelay, int extraDelay)

Method summary

Modifier and TypeMethod
public void
channelRead(io.netty.channel.ChannelHandlerContext arg0, Object arg1)
channelRead(io.netty.channel.ChannelHandlerContext arg0, Object arg1)
channelRead(io.netty.channel.ChannelHandlerContext arg0, Object arg1)
channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg)
private void
a(io.netty.channel.ChannelHandlerContext arg0, Object arg1)
delayDownstream(io.netty.channel.ChannelHandlerContext arg0, Object arg1)
method_34880(io.netty.channel.ChannelHandlerContext arg0, Object arg1)
delay(io.netty.channel.ChannelHandlerContext ctx, Object msg)
private void
a(io.netty.util.Timeout arg0)
onTimeout(io.netty.util.Timeout arg0)
method_34881(io.netty.util.Timeout arg0)
forward(io.netty.util.Timeout timeout)