Class DefaultNetherServerThrottle

java.lang.Object
org.cloudburstmc.netty.channel.nethernet.config.DefaultNetherServerThrottle
All Implemented Interfaces:
NetherServerThrottle

public class DefaultNetherServerThrottle extends Object implements NetherServerThrottle
Limits the connections open from one address and the joins it may start per window, like RakNet's DefaultRakServerThrottle. IPv6 addresses count per /64, which one host usually holds whole.
  • Constructor Details

    • DefaultNetherServerThrottle

      public DefaultNetherServerThrottle()
      10 open connections and 3 joins per 4 seconds per address.
    • DefaultNetherServerThrottle

      public DefaultNetherServerThrottle(int connectionsMax, long connectWindowInMs, int connectsMax)
  • Method Details