Handle job notification.

This commit is contained in:
XMRig 2017-06-07 01:19:59 +03:00
parent 1ecee56eb6
commit 4c06d8b080
5 changed files with 37 additions and 2 deletions

View file

@ -26,6 +26,7 @@
class Client;
class Job;
class IClientListener
@ -33,7 +34,9 @@ class IClientListener
public:
virtual ~IClientListener() {}
virtual void onJobReceived(Client *client, const Job &job) = 0;
virtual void onLoginCredentialsRequired(Client *client) = 0;
virtual void onLoginSuccess(Client *client) = 0;
};