USB Network Gate for Linux SDK User Guide

USB Network Gate for Linux SDK User Guide

bool isa(const Device &dev) const;
Return:   Returns true if the argument shares internal representation with this instance.
Sun, 20 Mar, 2022 at 4:54 PM
size_t hash() const;
Return: Returns hash value of object
Sun, 20 Mar, 2022 at 4:54 PM
bool update(const Device &dev);
Copies all mutable members from dev (for which setXXX members present).   Parameters:   dev - object to copy members from   Return:   Returns tr...
Sun, 20 Mar, 2022 at 4:54 PM
Device clone() const;
Return:   Returns an exact copy of self
Sun, 20 Mar, 2022 at 4:54 PM
std::string asString(bool with_password = false) const;
Parameters: with_password - includes password in result if true Return: Returns string representation of device
Sun, 20 Mar, 2022 at 4:53 PM
bool isLocal() const;
Returns true if the device is local
Sun, 20 Mar, 2022 at 4:58 PM
bool isRemote() const;
Returns true if the device is remote
Sun, 20 Mar, 2022 at 4:56 PM
std::string host() const;
Returns the address of the host to which the device is connected physically.
Sun, 20 Mar, 2022 at 4:57 PM
unsigned short port() const;
Returns TCP port to connect to the shared device
Sun, 20 Mar, 2022 at 4:58 PM
std::string reverse_host() const;
Returns the address of the host for callback connection
Sun, 20 Mar, 2022 at 4:59 PM