Top | ![]() |
![]() |
![]() |
![]() |
GInetSocketAddress * | address | Read / Write / Construct Only |
GTlsCertificate * | certificate | Read / Write / Construct Only |
DevdNetworkClient * devd_network_client_new (GInetSocketAddress *address
,GTlsCertificate *certificate
);
Creates a new DevdNetworkClient.
You can use this instead of devd_device_create_client()
if you know
who you want to communicate with already and the certificate to use.
Generally, you should wait for devices to show up using DevdBrowser
and then call devd_device_create_client()
to create a client for that
device.
Since: 3.28
GInetSocketAddress *
devd_network_client_get_address (DevdNetworkClient *self
);
Gets the address that is to be used to connect to the device.
Since: 3.28
GTlsCertificate *
devd_network_client_get_certificate (DevdNetworkClient *self
);
Gets the certificate for the network client.
Since: 3.28
“address”
property“address” GInetSocketAddress *
The "address" is the destination that we will attept to connect to
using this client, when devd_client_connect_async()
is called.
Owner: DevdNetworkClient
Flags: Read / Write / Construct Only
“certificate”
property“certificate” GTlsCertificate *
The client TLS certificate to use for communication.
Owner: DevdNetworkClient
Flags: Read / Write / Construct Only