net.minecraft.server.network

class ServerConnectionListener$LatencySimulator

extends io.netty.channel.ChannelInboundHandlerAdapter

art$a
net.minecraft.server.network.ServerConnectionListener$LatencySimulator
net.minecraft.class_3242$class_5980
net.minecraft.server.ServerNetworkIo$DelayingChannelInboundHandler
net.minecraft.src.C_28_$C_140958_
net.minecraft.server.network.ServerConnection$LatencySimulator

Field summary

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

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)
channelRead(io.netty.channel.ChannelHandlerContext p_143602_, Object arg1)
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)
m_143595_(io.netty.channel.ChannelHandlerContext p_143597_, Object arg1)
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)
m_143598_(io.netty.util.Timeout arg0)