#include <network_zeroconf.h>
NetworkZeroConfServiceInterface allows to broadcast a new network service. Objects for this class will be created using NetworkZeroConfInterface::AllocService().
◆ MAXON_INTERFACE_NONVIRTUAL()
◆ Start()
Starts the Service. Other machines will be able to detect this service on the current machine.
- Returns
- OK on success.
◆ Stop()
Stops the Service. Other machines are not longer able to detect this service on the current machine.
- Returns
- OK on success. @MAXON_ANNOTATION{default=OK}
◆ SetTXTRecord()
Adds/Updates the TXT records for the Service. Other machines will see this keys/values when they browse this service.
- Parameters
-
[in] | values | DataDictionary of values. The ids of the values should be strings. Otherwise the ids are converted into strings using ToString(). |
- Returns
- OK on success.
◆ RemoveTXTRecord()
Remove all TXT records for the Service. Other machines will not longer see additional informations when they browse this service.
- Returns
- OK on success.