Implement job result submitting.
This commit is contained in:
parent
a0a8711dab
commit
6774f86fcd
8 changed files with 92 additions and 6 deletions
|
@ -30,13 +30,14 @@
|
|||
|
||||
|
||||
#include "interfaces/IClientListener.h"
|
||||
#include "interfaces/IJobResultListener.h"
|
||||
|
||||
|
||||
class Options;
|
||||
class Url;
|
||||
|
||||
|
||||
class Network : public IClientListener
|
||||
class Network : public IClientListener, public IJobResultListener
|
||||
{
|
||||
public:
|
||||
Network(const Options *options);
|
||||
|
@ -49,6 +50,7 @@ public:
|
|||
protected:
|
||||
void onClose(Client *client, int failures) override;
|
||||
void onJobReceived(Client *client, const Job &job) override;
|
||||
void onJobResult(const JobResult &result);
|
||||
void onLoginCredentialsRequired(Client *client) override;
|
||||
void onLoginSuccess(Client *client) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue