Package net.minecraft.network
Class RateKickingConnection
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<Packet<?>>
net.minecraft.network.Connection
net.minecraft.network.RateKickingConnection
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.network.Connection
Connection.PacketHolder
Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler
io.netty.channel.ChannelHandler.Sharable
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Component
private static final org.slf4j.Logger
private final int
Fields inherited from class net.minecraft.network.Connection
ATTRIBUTE_PROTOCOL, LOCAL_WORKER_GROUP, NETWORK_EPOLL_WORKER_GROUP, NETWORK_WORKER_GROUP, PACKET_MARKER, PACKET_RECEIVED_MARKER, PACKET_SENT_MARKER, ROOT_MARKER
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.network.Connection
channel, channelActive, channelInactive, channelRead0, configureSerialization, connectToLocalServer, connectToServer, disconnect, exceptionCaught, getAverageReceivedPackets, getAverageSentPackets, getDirection, getDisconnectedReason, getPacketListener, getReceiving, getRemoteAddress, getSending, handleDisconnection, isConnected, isConnecting, isEncrypted, isMemoryConnection, send, send, setEncryptionKey, setListener, setProtocol, setReadOnly, setupCompression, tick
Methods inherited from class io.netty.channel.SimpleChannelInboundHandler
acceptInboundMessage, channelRead
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.netty.channel.ChannelHandler
handlerAdded, handlerRemoved
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
EXCEED_REASON
-
rateLimitPacketsPerSecond
private final int rateLimitPacketsPerSecond
-
-
Constructor Details
-
RateKickingConnection
public RateKickingConnection(int p_130558_)
-
-
Method Details
-
tickSecond
protected void tickSecond()- Overrides:
tickSecond
in classConnection
-