|
#pragma once
typedef struct ChannelPacketsInfo
{
unsigned int uPacketsCount;
unsigned int uMissedCount;
unsigned int lastReceivedId;
unsigned int nDuplicates;
};
typedef std::map<unsigned int, ChannelPacketsInfo*> statsMapT;
class CMyQoSClient : public TCPSocket, public ResponseHandler
{
public:
CMyQoSClient(void);
~CMyQoSClient(void);
protected:
virtual void onConnected(bool bResult);
virtual void onConnectionClosed(bool bPeerClose);
virtual void handleResponse(PushFramework::IncomingPacket& packet);
statsMapT statsMap;
public:
statsMapT& getStatsMap() { return statsMap; }
};
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.