diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-07 22:28:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-07 22:28:26 +0300 |
commit | af98cb5dea5644e0d95a5bf41c03655e4ab808ef (patch) | |
tree | 02cf26d058760b25412fea71d1fb25c3c1626570 /src/net/packetcounters.h | |
parent | 8bbb2cbef9ab7a8c095ef4cb0bfc29cd26c62213 (diff) | |
download | mv-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.gz mv-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.bz2 mv-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.tar.xz mv-af98cb5dea5644e0d95a5bf41c03655e4ab808ef.zip |
Fix code style.
Diffstat (limited to 'src/net/packetcounters.h')
-rw-r--r-- | src/net/packetcounters.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/net/packetcounters.h b/src/net/packetcounters.h index 1af928be8..35d5d64bc 100644 --- a/src/net/packetcounters.h +++ b/src/net/packetcounters.h @@ -26,15 +26,22 @@ class PacketCounters { public: -// PacketCounters(); static void incInBytes(int cnt); + static void incInPackets(); + static int getInBytes(); + static int getInPackets(); + static void incOutBytes(int cnt); + static void incOutPackets(); + static int getOutBytes(); + static int getOutPackets(); + static void update(); static int mInCurrentSec; |