Worker

class kanzi::connect::Worker : public WorkerBase

A class that integrates Kanzi Connect client to Kanzi UI event loop.

Public Functions

Worker(ClientSharedPtr client)

Constructor.

Parameters
  • client: Kanzi Connect client instance that is managed by this worker.

~Worker()

Destructor.

const string &getIdentity()

Returns the identity of this client, usually describing the owner of the device (ie.

‘John’).

Return

Identity of this client.

const string &getName()

Returns the name of this client (ie.

‘Cluster’, ‘HUD’).

Return

Name of this client.