/* */ #ifndef _D_DHT_TOKEN_UPDATE_COMMAND_H_ #define _D_DHT_TOKEN_UPDATE_COMMAND_H_ #include "TimeBasedCommand.h" #include "DHTTokenTrackerDecl.h" class DHTTokenUpdateCommand:public TimeBasedCommand { private: DHTTokenTrackerHandle _tokenTracker; public: DHTTokenUpdateCommand(int32_t cuid, DownloadEngine* e, time_t interval); virtual ~DHTTokenUpdateCommand(); virtual void preProcess(); virtual void process(); void setTokenTracker(const DHTTokenTrackerHandle& tokenTracker); }; #endif // _D_DHT_TOKEN_UPDATE_COMMAND_H_