version 0.3.29
[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(SQLite3DB::DB *db);\r
10         TrustListRequester(SQLite3DB::DB *db, FCPv2::Connection *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(FCPv2::Message &message);\r
17         const bool HandleGetFailed(FCPv2::Message &message);\r
18 \r
19 };\r
20 \r
21 #endif  // _trustlistrequester_\r