Interface NetherServerThrottle
- All Known Implementing Classes:
DefaultNetherServerThrottle
public interface NetherServerThrottle
Decides whether a join may go ahead, before its native peer is created. Set on the server channel with
NetherChannelOption.NETHER_SERVER_THROTTLE.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanaccept(InetSocketAddress address) voidclosed(InetSocketAddress address)
-
Method Details
-
accept
- Parameters:
address- The address the peer signaled from- Returns:
- Whether the join may go ahead. An accepted join is followed by
closed(java.net.InetSocketAddress)once its connection closes.
-
closed
- Parameters:
address- The address a join was accepted for
-