TROZeroConfBrowseEngine

Overview

The TROZeroConfBrowseEngine class is used internally by the ZeroConf infrastructure to retrieve information about the ZeroConf environment and services registered in it. You should not use this class directly. To discover services, use the TROZeroConfBrowser methods.

Note: Take a look at the BonjourDiscovery sample shipped with the Remoting SDK to see service discovery in action.

Location

Instance Methods


constructor Create  virtual

Creates an instance with provided parameters.

constructor Create(aOwner: TROZeroConfBrowser)

Parameters:


Start  protected

Starts searching for the service with the specified aServiceType within aDomain.

procedure Start(const aDomain: UnicodeString; const aServiceType: UnicodeString)

Parameters:

  • aDomain: Service domain name
  • aServiceType: Service type this instance should browse for

Stop  protected

Cancels the service search.

procedure Stop

TriggerBrowse  protected virtual

Looks for a services with the specified parameters in the list of its TROZeroConfBrowser owner class and creates (and calls the OnServiceAdded event) or destroys (and calls the OnServiceRemoved event) the TROZeroConfService object.

procedure TriggerBrowse(const Add: boolean; const AServiceName: Unicodestring; const aServiceType: Unicodestring; const aDomain: Unicodestring)

Parameters:

  • Add: Determines whether the TROZeroConfService object will be created or destroyed.
  • AServiceName: Service name
  • aServiceType: Service type
  • aDomain: Domain name

Descendants

See Also