mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
35 lines
612 B
C
35 lines
612 B
C
|
#pragma once
|
||
|
|
||
|
// from librssimulator
|
||
|
#include "peer/PeerNode.h"
|
||
|
|
||
|
class RsGxsIdExchange;
|
||
|
class RsGxsCircleExchange;
|
||
|
class GxsTestService;
|
||
|
class RsGeneralDataService;
|
||
|
class RsGxsNetService;
|
||
|
|
||
|
class GxsPeerNode: public PeerNode
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
GxsPeerNode(const RsPeerId &ownId, const std::list<RsPeerId> &peers, int testMode);
|
||
|
~GxsPeerNode();
|
||
|
|
||
|
uint32_t mTestMode;
|
||
|
std::string mGxsDir;
|
||
|
|
||
|
// Id and Circle Interfaces. (NULL for now).
|
||
|
RsGxsIdExchange *mGxsIdService;
|
||
|
RsGxsCircleExchange *mGxsCircles;
|
||
|
|
||
|
GxsTestService *mTestService;
|
||
|
RsGeneralDataService* mTestDs;
|
||
|
RsGxsNetService* mTestNs;
|
||
|
};
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|