Package-level declarations

Types

Link copied to clipboard

The channel traffic snapshot interface is used to bind and results of the net.rsprot.protocol.metrics.channel.ChannelTrafficMonitor.snapshot to a single structure.

Link copied to clipboard
class InetAddressSnapshot<CP : ClientProt, Enum<CP>, SP : ServerProt, Enum<SP>, DC : Enum<DC>>(val disconnectionsByReason: Map<DC, Int>, val incomingPackets: Map<CP, PacketSnapshot>, val outgoingPackets: Map<SP, PacketSnapshot>)

The java.net.InetAddress snapshot is responsible for tracking any disconnections and packets flowing both directions based on a specific java.net.InetAddress.