On this page

C

DTLSEndpoint.Stats

History

A view of the collected statistics for an endpoint.

P

endpointStats.createdAt

History
Type:bigint
A timestamp indicating when the endpoint was created. Read only.
P

endpointStats.destroyedAt

History
Type:bigint
A timestamp indicating when the endpoint was destroyed. Read only.
P

endpointStats.bytesReceived

History
Type:bigint
The total number of bytes received by this endpoint. Read only.
P

endpointStats.bytesSent

History
Type:bigint
The total number of bytes sent by this endpoint. Read only.
P

endpointStats.packetsReceived

History
Type:bigint
The total number of UDP packets received by this endpoint. Read only.
P

endpointStats.packetsSent

History
Type:bigint
The total number of UDP packets sent by this endpoint. Read only.
P

endpointStats.serverSessions

History
Type:bigint
The total number of peer-initiated sessions accepted by this endpoint. Read only.
P

endpointStats.clientSessions

History
Type:bigint
The total number of sessions initiated by this endpoint. Read only.
P

endpointStats.serverBusyCount

History
Type:bigint
The total number of incoming connections rejected because the endpoint was marked busy. Read only.
P

endpointStats.isConnected

History
Type:boolean

true if the stats object is still connected to the underlying endpoint. Once the endpoint is destroyed, the stats become a stale snapshot.