#include <network_zeroconf.h>
静态公共成员函数 |
|
static MAXON_METHOD Result < void > | GetBonjourVersion ( Int &versionNumber, Int &revisionNumber, Bool &isRunning) |
static MAXON_METHOD Result < NetworkZeroConfBrowserRef > | AllocBrowser (const String &serviceType, void *context, Bool thirdPartyInstance=false) |
static MAXON_METHOD Result < NetworkZeroConfServiceRef > | AllocService (const String &serviceName, const String &serviceType, Int networkAdapter, Int port, const String &domainName= String (), Bool thirdPartyInstance=false) |
static MAXON_METHOD Result < NetworkZeroConfServiceRef > | AnnounceServer (const NetworkIpAddrPort &serverIpAndPort, const String &serviceName, const String &serviceType, const DataDictionary &txtRecords) |
static MAXON_METHOD void | ShutdownEntireZeroConfSystem () |
static MAXON_METHOD void | RemoveAllThirdPartyZeroConfTasks () |
私有成员函数 |
|
MAXON_INTERFACE_NONVIRTUAL ( NetworkZeroConfInterface , MAXON_REFERENCE_NORMAL , "net.maxon.interface.networkzeroconf") |
|
private |
|
static |
Get the version number of the ZeroConf version.
[out] | versionNumber | Main version number of ZeroConf. |
[out] | revisionNumber | Revision number. |
[out] | isRunning | TODO: (Seb), please document. |
|
static |
Allocates a new NetworkZeroConfBrowserRef.
[in] | serviceType | Name of the service type to browse. e.g. "_test._tcp"_s. |
[in] | context | User data pointer passed through the notification signals. |
[in] | thirdPartyInstance | TODO: (Seb), please document. |
|
static |
Allocates a new NetworkZeroConfServiceRef.
[in] | serviceName | Name of the service. |
[in] | serviceType | Name of the service type. e.g. "_test._tcp"_s. |
[in] | networkAdapter | Network adapter to bind the service on. The network adapter is returned by NetworkAdapterInterface::GetAdapterIndex() . 0 registers the service for all interfaces. |
[in] | port | Network port to bind the service. The port must be > 0 and < 65535 and a valid tcp port. -1 can be set for an undefined port. |
[in] | domainName | (optional) a domain name where the service is bind to. |
[in] | thirdPartyInstance | TODO: (Seb), please document. |
|
static |
Announces a service for the given serverIpAndPort, serviceName with optional txtRecords.
[in] | serverIpAndPort | Ip address and port where a server is running. |
[in] | serviceName | Name of the service. |
[in] | serviceType | Name of the service type to browse. e.g. "_test._tcp"_s. |
[in] | txtRecords | Optional txt records. |
|
static |
|
static |