TRODiscoveryService

Overview

The TRODiscoveryService class implements a service to support the server side of the local network server discovery infrastructure. The stub of this class was generated automatically from the corresponding RODL file.
This class is not intended for direct use, it is used internally by the TROCustomDiscoveryServer.

Location

 

constructor Create  overload virtual    (declared in TRORemotable)

Creates a new instance.

constructor Create

constructor Create (TObject)  overload    (declared in TRORemotable)

constructor Create(aOwner: TObject)

Parameters:

  • aOwner:

FindService  protected virtual

function FindService(const iName: ROAnsiString; var ioServerOptions: TRODiscoveryOptions): ROAnsiString

Parameters:

  • iName:
  • ioServerOptions:

IsRetained  protected    (declared in TRORemotable)

Returns true if anObject is retained by Self.

function IsRetained(const anObject: TObject): Boolean

Parameters:

  • anObject: Object to check

NewInstance  override    (declared in TROInterfacedObject)

Creates and returns a new instance of the interfaced object, initializing its reference counter with 1.

class function NewInstance: TObject

RefCount    (declared in TROInterfacedObject)

Provides read-only access to the reference counter. When this value reaches zero, the object is freed.

property RefCount: Integer read write

ReleaseObject  protected    (declared in TRORemotable)

Takes away the hold of anObject set by RetainObject.

procedure ReleaseObject(const anObject: TObject)

Parameters:

  • anObject: Object to release

RetainObject  protected    (declared in TRORemotable)

Sets the hold of anObject.

procedure RetainObject(const anObject: TObject)

Parameters:

  • anObject: Object to hold

 

RefCount    (declared in TROInterfacedObject)

Provides read-only access to the reference counter. When this value reaches zero, the object is freed.

property RefCount: Integer read write

 

NewInstance  override    (declared in TROInterfacedObject)

Creates and returns a new instance of the interfaced object, initializing its reference counter with 1.

class function NewInstance: TObject

 

constructor Create  overload virtual    (declared in TRORemotable)

Creates a new instance.

constructor Create

constructor Create (TObject)  overload    (declared in TRORemotable)

constructor Create(aOwner: TObject)

Parameters:

  • aOwner:

FindService  protected virtual

function FindService(const iName: ROAnsiString; var ioServerOptions: TRODiscoveryOptions): ROAnsiString

Parameters:

  • iName:
  • ioServerOptions:

IsRetained  protected    (declared in TRORemotable)

Returns true if anObject is retained by Self.

function IsRetained(const anObject: TObject): Boolean

Parameters:

  • anObject: Object to check

ReleaseObject  protected    (declared in TRORemotable)

Takes away the hold of anObject set by RetainObject.

procedure ReleaseObject(const anObject: TObject)

Parameters:

  • anObject: Object to release

RetainObject  protected    (declared in TRORemotable)

Sets the hold of anObject.

procedure RetainObject(const anObject: TObject)

Parameters:

  • anObject: Object to hold