Worker¶
-
class
kanzi::connect
::
Worker
: public WorkerBase¶ A class that integrates Kanzi Connect client to Kanzi UI event loop.
Public Functions
Constructor.
- Parameters
client – Kanzi Connect client instance that is managed by this worker.
-
virtual
~Worker
()¶ Destructor.
-
inline const string &
getIdentity
()¶ Returns the identity of this client, usually describing the owner of the device (ie.
‘John’).
- Returns
Identity of this client.
-
inline const string &
getName
()¶ Returns the name of this client (ie.
‘Cluster’, ‘HUD’).
- Returns
Name of this client.