InetAddressSnapshot

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.

Parameters

CP

the type for client prots

SP

the type for server prots

DC

the type for disconnection reasons.

Constructors

Link copied to clipboard
constructor(disconnectionsByReason: Map<DC, Int>, incomingPackets: Map<CP, PacketSnapshot>, outgoingPackets: Map<SP, PacketSnapshot>)

Properties

Link copied to clipboard

a map of disconnection reasons to the number of times that specific disconnection reason was witnessed for this java.net.InetAddress.

Link copied to clipboard

a map of client prots to packet snapshots.

Link copied to clipboard

a map of server prots to packet snapshots.