mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
41 lines
817 B
C
41 lines
817 B
C
|
/*
|
||
|
* nxsgrpsync_test.h
|
||
|
*
|
||
|
* Created on: 13 Apr 2014
|
||
|
* Author: crispy
|
||
|
*/
|
||
|
|
||
|
#ifndef NXSGRPSYNC_TEST_H_
|
||
|
#define NXSGRPSYNC_TEST_H_
|
||
|
|
||
|
|
||
|
#include "nxstestscenario.h"
|
||
|
|
||
|
class NxsGrpSync : public NxsTestScenario
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
NxsGrpSync();
|
||
|
|
||
|
void getPeers(std::list<RsPeerId>& peerIds);
|
||
|
RsGeneralDataService* getDataService(const RsPeerId& peerId);
|
||
|
bool checkTestPassed();
|
||
|
RsNxsNetMgr* getDummyNetManager(const RsPeerId& peerId);
|
||
|
RsGcxs* getDummyCircles(const RsPeerId& peerId);
|
||
|
RsGixsReputation* getDummyReputations(const RsPeerId& peerId);
|
||
|
uint16_t getServiceType();
|
||
|
|
||
|
private:
|
||
|
|
||
|
std::list<RsPeerId> mPeerIds;
|
||
|
std::map<RsPeerId, RsGeneralDataService*> mDataServices;
|
||
|
std::map<RsPeerId, RsNxsNetMgr*> mNxsNetMgrs;
|
||
|
RsGixsReputation* mRep;
|
||
|
RsGcxs* mCircles;
|
||
|
|
||
|
int mServType;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif /* NXSGRPSYNC_TEST_H_ */
|