/* */ #ifndef D_DHT_TOKEN_UPDATE_COMMAND_H #define D_DHT_TOKEN_UPDATE_COMMAND_H #include "TimeBasedCommand.h" #include namespace aria2 { class DHTTokenTracker; class DHTTokenUpdateCommand:public TimeBasedCommand { private: DHTTokenTracker* tokenTracker_; public: DHTTokenUpdateCommand(cuid_t cuid, DownloadEngine* e, time_t interval); virtual ~DHTTokenUpdateCommand(); virtual void preProcess() CXX11_OVERRIDE; virtual void process() CXX11_OVERRIDE; void setTokenTracker(DHTTokenTracker* tokenTracker); }; } // namespace aria2 #endif // D_DHT_TOKEN_UPDATE_COMMAND_H