contains link layer byte counters More...
#include <face-counters.hpp>
Public Member Functions | |
const ByteCounter & | getNInBytes () const |
received bytes More... | |
ByteCounter & | getNInBytes () |
const ByteCounter & | getNOutBytes () const |
sent bytes More... | |
ByteCounter & | getNOutBytes () |
Protected Member Functions | |
template<typename R > | |
void | copyTo (R &recipient) const |
copy current obseverations to a struct More... | |
contains link layer byte counters
Definition at line 186 of file face-counters.hpp.
|
inline |
received bytes
Definition at line 191 of file face-counters.hpp.
Referenced by copyTo(), nfd::WebSocketFace::handleReceive(), and nfd::DatagramFace< boost::asio::ip::udp, Multicast >::receiveDatagram().
|
inline |
Definition at line 197 of file face-counters.hpp.
|
inline |
sent bytes
Definition at line 204 of file face-counters.hpp.
Referenced by copyTo(), nfd::DatagramFace< boost::asio::ip::udp, Multicast >::handleSend(), nfd::WebSocketFace::sendData(), and nfd::WebSocketFace::sendInterest().
|
inline |
Definition at line 210 of file face-counters.hpp.
|
inlineprotected |
copy current obseverations to a struct
recipient | an object with set methods for counters |
Definition at line 221 of file face-counters.hpp.
References getNInBytes(), and getNOutBytes().
Referenced by nfd::FaceCounters::copyTo().