nfd::face::WebSocketTransportCounters Class Reference

counters provided by WebSocketTransport More...

#include <websocket-transport.hpp>

Inheritance diagram for nfd::face::WebSocketTransportCounters:
Collaboration diagram for nfd::face::WebSocketTransportCounters:

Public Attributes

PacketCounter nOutPings
 count of outgoing Pings More...
 
PacketCounter nInPongs
 count of incoming Pongs More...
 
PacketCounter nInPackets
 count of incoming packets More...
 
PacketCounter nOutPackets
 count of outgoing packets More...
 
ByteCounter nInBytes
 total incoming bytes More...
 
ByteCounter nOutBytes
 total outgoing bytes More...
 

Detailed Description

counters provided by WebSocketTransport

Note
The type name 'WebSocketTransportCounters' is implementation detail. Use 'WebSocketTransport::Counters' in public API.

Definition at line 40 of file websocket-transport.hpp.

Member Data Documentation

ByteCounter nfd::face::TransportCounters::nInBytes
inherited

total incoming bytes

This counter includes headers imposed by NFD (such as NDNLP), but excludes overhead of underlying protocol (such as IP header). For a datagram-based transport, an incoming packet that cannot be parsed as TLV would not be counted.

Definition at line 82 of file transport.hpp.

PacketCounter nfd::face::TransportCounters::nInPackets
inherited

count of incoming packets

A 'packet' typically means a top-level TLV block. For a datagram-based transport, an incoming packet that cannot be parsed as TLV would not be counted.

Definition at line 66 of file transport.hpp.

PacketCounter nfd::face::WebSocketTransportCounters::nInPongs

count of incoming Pongs

Definition at line 49 of file websocket-transport.hpp.

ByteCounter nfd::face::TransportCounters::nOutBytes
inherited

total outgoing bytes

This counter includes headers imposed by NFD (such as NDNLP), but excludes overhead of underlying protocol (such as IP header). This counter is increased only if transport is UP.

Definition at line 90 of file transport.hpp.

PacketCounter nfd::face::TransportCounters::nOutPackets
inherited

count of outgoing packets

A 'packet' typically means a top-level TLV block. This counter is incremented only if transport is UP.

Definition at line 73 of file transport.hpp.

PacketCounter nfd::face::WebSocketTransportCounters::nOutPings

count of outgoing Pings

Definition at line 45 of file websocket-transport.hpp.