TROBaseZeroConfResolveStrategy

Overview

TROBaseZeroConfResolveStrategy is a base class that declares abstract methods required for resolving a domain, a service type and a service name to a real address and port. The descendants of this class are used internally in TROZeroConfResolveEngine.

Location

Implements

Instance Methods


Resolve  protected virtual abstract

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  protected virtual abstract

Resolves a domain, a service type and a service name to a real address and port in the specified timeout and returns false if it was unsuccessful.

function TryResolve(aTimeout: integer): Boolean

Parameters:

  • aTimeout: Timeout (in seconds)

Descendants

See Also