version 0.2.23
[fms.git] / include / freenet / trustlistrequester.h
1 #ifndef _trustlistrequester_\r
2 #define _trustlistrequester_\r
3 \r
4 #include "iindexrequester.h"\r
5 \r
6 class TrustListRequester:public IIndexRequester<long>//public IFreenetRegistrable,public IFCPConnected,public IFCPMessageHandler,public IPeriodicProcessor,public IDatabase,public ILogger\r
7 {\r
8 public:\r
9         TrustListRequester();\r
10         TrustListRequester(FCPv2 *fcp);\r
11 \r
12 private:\r
13         void Initialize();\r
14         void PopulateIDList();                          // clear and re-populate m_ids with identities we want to query\r
15         void StartRequest(const long &identityid);\r
16         const bool HandleAllData(FCPMessage &message);\r
17         const bool HandleGetFailed(FCPMessage &message);\r
18 \r
19 };\r
20 \r
21 #endif  // _trustlistrequester_\r