UdpStatsImpl

class UdpStatsImpl(val datagramsSent: Long, val datagramsReceived: Long, val datagramsNoPort: Long, val datagramsReceivedErrors: Long) : UdpStats

UdpStatsImpl Implementation of the UdpStats interface. This class provides the statistics for the UDP protocol, including the number of datagrams sent and received, as well as any errors or datagrams with no port.

Author

N7ghtm4r3

Parameters

datagramsSent

The total number of UDP datagrams sent.

datagramsReceived

The total number of UDP datagrams received.

datagramsNoPort

The total number of UDP datagrams that did not have a corresponding port to route to.

datagramsReceivedErrors

The total number of UDP datagrams that were received with errors (e.g., checksum errors).

See also

Constructors

Link copied to clipboard
constructor(datagramsSent: Long, datagramsReceived: Long, datagramsNoPort: Long, datagramsReceivedErrors: Long)

Properties

Link copied to clipboard
open override val datagramsNoPort: Long
Link copied to clipboard
open override val datagramsReceived: Long
Link copied to clipboard
open override val datagramsReceivedErrors: Long
Link copied to clipboard
open override val datagramsSent: Long