TROServerLocatorCollection

Overview

Location

 

constructor Create

Creates a new instance.

constructor Create(aOwner: TComponent; aItemClass: TROServerLocatorClass)

Parameters:

  • aOwner:
  • aItemClass:

Add

function Add: TROServerLocator

DisableAll

procedure DisableAll

EnableAll

procedure EnableAll

GetNextLocator

function GetNextLocator(out aLocator: TROServerLocator; var CurrentIndex: Integer; var InitialIndex: Integer; ForLoadBalancing: Boolean): Boolean

Parameters:

  • aLocator:
  • CurrentIndex:
  • InitialIndex:
  • ForLoadBalancing:

GetOwner  protected override

function GetOwner: TPersistent

IndexOf

Returns the position of a aItem in the list.

function IndexOf(aItem: TROServerLocator): Integer

Parameters:

  • aItem: item whose index will be returned.

Insert

function Insert(aIndex: Integer): TROServerLocator

Parameters:

  • aIndex:

Items

This property allows the collection content to be accessed by index.

property Items[Index: Integer]: TROServerLocator read write

 

Items

This property allows the collection content to be accessed by index.

property Items[Index: Integer]: TROServerLocator read write

 

constructor Create

Creates a new instance.

constructor Create(aOwner: TComponent; aItemClass: TROServerLocatorClass)

Parameters:

  • aOwner:
  • aItemClass:

Add

function Add: TROServerLocator

DisableAll

procedure DisableAll

EnableAll

procedure EnableAll

GetNextLocator

function GetNextLocator(out aLocator: TROServerLocator; var CurrentIndex: Integer; var InitialIndex: Integer; ForLoadBalancing: Boolean): Boolean

Parameters:

  • aLocator:
  • CurrentIndex:
  • InitialIndex:
  • ForLoadBalancing:

GetOwner  protected override

function GetOwner: TPersistent

IndexOf

Returns the position of a aItem in the list.

function IndexOf(aItem: TROServerLocator): Integer

Parameters:

  • aItem: item whose index will be returned.

Insert

function Insert(aIndex: Integer): TROServerLocator

Parameters:

  • aIndex: