#include <network.hpp>
Public Member Functions | |
statistics () | |
void | fresh_current (size_t len) |
void | transfer (size_t size) |
bool | operator== (const statistics &stats) const |
bool | operator!= (const statistics &stats) const |
Public Attributes | |
size_t | total |
The accumulated bytes of the session. More... | |
size_t | current |
The current buffer accumulated bytes (sent/received.) More... | |
size_t | current_max |
The current buffer size (i.e. More... | |
Definition at line 273 of file network.hpp.
|
inline |
Definition at line 275 of file network.hpp.
|
inline |
Definition at line 276 of file network.hpp.
References current, and current_max.
|
inline |
Definition at line 290 of file network.hpp.
References operator==().
|
inline |
Definition at line 286 of file network.hpp.
References current, current_max, and total.
Referenced by operator!=().
|
inline |
Definition at line 281 of file network.hpp.
size_t network::statistics::current |
The current buffer accumulated bytes (sent/received.)
Definition at line 295 of file network.hpp.
Referenced by fresh_current(), operator==(), and transfer().
size_t network::statistics::current_max |
The current buffer size (i.e.
being received/sent.)
Definition at line 296 of file network.hpp.
Referenced by fresh_current(), and operator==().
size_t network::statistics::total |
The accumulated bytes of the session.
Definition at line 294 of file network.hpp.
Referenced by operator==(), and transfer().