USB Network Gate for Linux SDK User Guide

USB Network Gate for Linux SDK User Guide

struct Activation
Information from your license.    {  std::string status;  std::string key;  std::string license;  std::string registeredTo;  int deviceLimit;  int d...
Sun, 20 Mar, 2022 at 3:02 PM
struct License
Information from your license.  {  int deviceLimit;  std::string licenseType;  std::string registeredTo;  time_t creationTime;  time_t trialExpires...
Sun, 20 Mar, 2022 at 3:02 PM
class EveusbEventHandler
Receives responses from daemon on requests sent via EveusbController. Pure abstract class.   Write an inheriting class with the implementation of methods...
Sun, 20 Mar, 2022 at 3:02 PM
void onError(const std::string &msg)
Notifies about non-critical errors. There are parse errors, unknown command, bad syntax, etc.   Parameters:   msg - text of error
Sun, 20 Mar, 2022 at 3:01 PM
long writeToDaemon(const std::string &buf);
Call this method to write buf to socket connection established with daemon. Example of implementation: return write(fd, buf.data(), buf.size());   Paramet...
Sun, 20 Mar, 2022 at 3:04 PM
long readFromDaemon(std::vector &buf);
Call this method to read no more than buf.size() bytes into buf from socket connection established with daemon.   Example of implementation: return read(f...
Sun, 20 Mar, 2022 at 3:04 PM
void onMessage(const std::string &msg, bool incoming);
Notifies about messages received from or sent to daemon. Call this method for debug purposes, etc.   Parameters:   msg - message incoming - true if messag...
Sun, 20 Mar, 2022 at 3:04 PM
void onVersion(const std::string &version);
This method is called after invocation of EveusbController::getVersion   Parameters:   version - сomma-separated values the first field - daemon versi...
Sun, 20 Mar, 2022 at 3:04 PM
void onCompressionHint(bool size_or_speed);
This method is called after invocation of EveusbController::getCompressionHint   Parameters:   size_or_speed - current value
Sun, 20 Mar, 2022 at 3:04 PM
void onLicense(const License &info);
This method is called after invocation of EveusbController::getLicense   Parameters:   info - structure that contains information from the license  ...
Sun, 20 Mar, 2022 at 3:04 PM