Prepare for daemon support.

This commit is contained in:
XMRig
2019-04-11 00:18:33 +07:00
parent 43524b2e42
commit 7b738b936a
8 changed files with 97 additions and 47 deletions

View File

@@ -79,6 +79,7 @@ public:
void tick(uint64_t now) override;
inline bool hasExtension(Extension extension) const noexcept override { return m_extensions.test(extension); }
inline const char *mode() const override { return "pool"; }
protected:
inline void onLine(char *line, size_t size) override { parse(line, size); }