IZeroConfResolveStrategy

Overview

The IZeroConfResolveStrategy interface describes methods that are required for obtaining information about specified services.

The IZeroConfResolveStrategy interface is used in classes that retrieve detailed information (resolve) about services discovered in the ZeroConf environment, for example the TROBonjourResolveStrategy class.

Location

Implemented in

Required Methods


Resolve

Resolves a domain and the service type and -name to a real address and port with the provided timeout (in seconds). If the resolve operation was terminated by timeout or if the server returns an error, an Exception will be raised.

procedure Resolve(aTimeout: integer)

Parameters:

  • aTimeout: Timeout (in seconds)

TryResolve

Tries to resolve the information about the specified service; returns true if the resolve was successful and false if it wasn't successful.

function TryResolve(aTimeout: integer): Boolean

Parameters:

  • aTimeout: Timeout (in seconds)

See Also