InetAddressTracker

The tracker implementation for INetAddresses. This implementation must be thread safe, as it is triggered by all kinds of Netty threads!

Inheritors

Functions

Link copied to clipboard
abstract fun deregister(address: InetAddress)

The deregister function is invoked whenever a channel goes inactive

Link copied to clipboard
abstract fun getCount(address: InetAddress): Int

Gets the number of active connections for a given address

Link copied to clipboard
abstract fun register(address: InetAddress)

The register function is invoked whenever a channel goes active