Class RakGeyserRateLimiter

java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.SimpleChannelInboundHandler<io.netty.channel.socket.DatagramPacket>
org.cloudburstmc.netty.handler.codec.raknet.server.RakServerRateLimiter
org.geysermc.geyser.network.netty.handler.RakGeyserRateLimiter
All Implemented Interfaces:
io.netty.channel.ChannelHandler, io.netty.channel.ChannelInboundHandler

public class RakGeyserRateLimiter extends org.cloudburstmc.netty.handler.codec.raknet.server.RakServerRateLimiter
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.netty.channel.ChannelHandler

    io.netty.channel.ChannelHandler.Sharable
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    RakGeyserRateLimiter(io.netty.channel.Channel channel)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected int
     

    Methods inherited from class org.cloudburstmc.netty.handler.codec.raknet.server.RakServerRateLimiter

    addException, blockAddress, channelRead0, getExceptions, handlerAdded, handlerRemoved, isAddressBlocked, onBlockedTick, onRakTick, removeException, unblockAddress

    Methods inherited from class io.netty.channel.SimpleChannelInboundHandler

    acceptInboundMessage, channelRead

    Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter

    channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered

    Methods inherited from class io.netty.channel.ChannelHandlerAdapter

    ensureNotSharable, isSharable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • RakGeyserRateLimiter

      public RakGeyserRateLimiter(io.netty.channel.Channel channel)
  • Method Details

    • getAddressMaxPacketCount

      protected int getAddressMaxPacketCount(InetAddress address)
      Overrides:
      getAddressMaxPacketCount in class org.cloudburstmc.netty.handler.codec.raknet.server.RakServerRateLimiter