mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 23:55:14 +02:00
remove variables for out in PacketReceiver
This commit is contained in:
parent
e3b5972344
commit
c63d714400
1 changed files with 0 additions and 4 deletions
|
@ -31,9 +31,7 @@ public:
|
||||||
PacketReceiver& operator=(const PacketReceiver&) = delete;
|
PacketReceiver& operator=(const PacketReceiver&) = delete;
|
||||||
|
|
||||||
int getInPacketCount() const { return _inPacketCount; }
|
int getInPacketCount() const { return _inPacketCount; }
|
||||||
int getOutPacketCount() const { return _outPacketCount; }
|
|
||||||
int getInByteCount() const { return _inByteCount; }
|
int getInByteCount() const { return _inByteCount; }
|
||||||
int getOutByteCount() const { return _outByteCount; }
|
|
||||||
|
|
||||||
void resetCounters() { _inPacketCount = 0; _outPacketCount = 0; _inByteCount = 0; _outByteCount = 0; }
|
void resetCounters() { _inPacketCount = 0; _outPacketCount = 0; _inByteCount = 0; _outByteCount = 0; }
|
||||||
|
|
||||||
|
@ -61,9 +59,7 @@ private:
|
||||||
QMutex _packetListenerLock;
|
QMutex _packetListenerLock;
|
||||||
QHash<PacketType::Value, ObjectMethodPair> _packetListenerMap;
|
QHash<PacketType::Value, ObjectMethodPair> _packetListenerMap;
|
||||||
int _inPacketCount = 0;
|
int _inPacketCount = 0;
|
||||||
int _outPacketCount = 0;
|
|
||||||
int _inByteCount = 0;
|
int _inByteCount = 0;
|
||||||
int _outByteCount = 0;
|
|
||||||
bool _isShuttingDown = false;
|
bool _isShuttingDown = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue