|
SOMHunter Core
|
Unified interface for all remote evaluation servers. More...
#include <client-dres.h>


Public Member Functions | |
| IServerClient (const EvalServerSettings &settings) | |
| virtual bool | login ()=0 |
| virtual bool | logout ()=0 |
| virtual bool | submit (const VideoFrame &frame)=0 |
| virtual bool | send_results_log (const nlohmann::json &log_JSON)=0 |
| virtual bool | send_interactions_log (const nlohmann::json &log_JSON)=0 |
| virtual UnixTimestamp | get_server_ts ()=0 |
| virtual nlohmann::json | get_current_task ()=0 |
| virtual bool | is_logged_in () const |
| virtual const std::string & | get_user_token () const |
| virtual void | set_do_requests (bool val) |
| virtual bool | get_do_requests () const |
Protected Member Functions | |
| virtual void | set_user_token (const std::string &val) |
Protected Attributes | |
| EvalServerSettings | _eval_server_settings |
| bool | _do_requests |
| Http | _http |
| std::string | _username |
Unified interface for all remote evaluation servers.
|
inline |
|
pure virtual |
Implemented in sh::ClientDres.
|
inlinevirtual |
|
pure virtual |
Implemented in sh::ClientDres.
|
inlinevirtual |
|
inlinevirtual |
|
pure virtual |
Implemented in sh::ClientDres.
|
pure virtual |
Implemented in sh::ClientDres.
|
pure virtual |
Implemented in sh::ClientDres.
|
pure virtual |
Implemented in sh::ClientDres.
|
inlinevirtual |
|
inlineprotectedvirtual |
|
pure virtual |
Implemented in sh::ClientDres.
|
protected |
|
protected |
|
protected |
|
protected |