TROBaseZeroConf

Overview

The TROBaseZeroConf class introduces base functionality for retrieving information about the ZeroConf environment and services registered in it. It is the ancestor for all Delphi ZeroConf visual components, like the TROZeroConfBrowser or the TROZeroConfRegistration class.

In most cases you don't need to use this class directly, but you can use its descendants to organize the ZeroConf infrastructure in your application.

Location

 

constructor Create  override    (declared in TROComponent)

Creates a new instance.

constructor Create(AOwner: TComponent)

Parameters:

  • AOwner: Owner.

Assign  override

Copies the contents of another, similar object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Instance whose properties will be copied

Domain

Represents the domain name in which the LAN or WLAN services will be discovered.

property Domain: Unicodestring read write

ROFreeNotification    (declared in TROComponent)

Forwards notification messages to all owned RO components.

procedure ROFreeNotification(AComponent: TComponent)

Parameters:

  • AComponent: component

RORemoveFreeNotification    (declared in TROComponent)

Disables destruction notification for specified RO component.

procedure RORemoveFreeNotification(AComponent: TComponent)

Parameters:

  • AComponent: component

TriggerFailed  protected virtual abstract

Triggers exceptions.

procedure TriggerFailed(const ACurrentEngine: TROZeroConfEngine; anException: Exception)

Parameters:

  • ACurrentEngine: Current type of engine that is used for service resolving
  • anException: Current exception

 

Domain

Represents the domain name in which the LAN or WLAN services will be discovered.

property Domain: Unicodestring read write

 

constructor Create  override    (declared in TROComponent)

Creates a new instance.

constructor Create(AOwner: TComponent)

Parameters:

  • AOwner: Owner.

Assign  override

Copies the contents of another, similar object.

procedure Assign(Source: TPersistent)

Parameters:

  • Source: Instance whose properties will be copied

ROFreeNotification    (declared in TROComponent)

Forwards notification messages to all owned RO components.

procedure ROFreeNotification(AComponent: TComponent)

Parameters:

  • AComponent: component

RORemoveFreeNotification    (declared in TROComponent)

Disables destruction notification for specified RO component.

procedure RORemoveFreeNotification(AComponent: TComponent)

Parameters:

  • AComponent: component

TriggerFailed  protected virtual abstract

Triggers exceptions.

procedure TriggerFailed(const ACurrentEngine: TROZeroConfEngine; anException: Exception)

Parameters:

  • ACurrentEngine: Current type of engine that is used for service resolving
  • anException: Current exception

Descendants

See Also