Implemented DonateStrategy.
This commit is contained in:
parent
25faeabd61
commit
7e17f77c11
8 changed files with 88 additions and 37 deletions
|
@ -40,8 +40,10 @@ public:
|
|||
SinglePoolStrategy(const Url *url, const char *agent, IStrategyListener *listener);
|
||||
|
||||
public:
|
||||
bool isActive() const override;
|
||||
inline bool isActive() const override { return m_active; }
|
||||
|
||||
void connect() override;
|
||||
void resume() override;
|
||||
void submit(const JobResult &result) override;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue