Implemented reconnect.

This commit is contained in:
XMRig 2017-06-07 04:19:32 +03:00
parent b8cc1136a4
commit c29dc8bcf4
7 changed files with 40 additions and 7 deletions

View file

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