ClientDescriptor¶
-
class
kanzi::connect
::
ClientDescriptor
¶ Contains client description information.
This is used for identification purposes only and contains no functionality.
Public Functions
-
ClientDescriptor
(ClientIdentifier id, string ip)¶ C++ constructor.
- Parameters
id – identifier for the client. Locally unique.
ip – address of the client.
C++ constructor.
- Parameters
connectedClient – shared pointer to client information from which relevant is retrieved.
-
const string &
getAddress
() const¶ Get the client address.
- Returns
address.
-
ClientIdentifier
getId
() const¶ Get the client identifier.
- Returns
the identifier
-