RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomObjectBroker.GetComputerForGUID Method

Returns a string that identifies a server machine for an interface identified by its GUID.

Pascal
function GetComputerForGUID(GUID: TGUID): string; virtual; abstract;
C++
virtual __fastcall AnsiString GetComputerForGUID(TGUID GUID) = 0;

Call GetComputerForGUID to obtain a string that identifies a server machine on which a given interface is registered. The GUID parameter specifies the global unique identifier of the desired interface. 

TCustomObjectBroker declares GetComputerForGUID as an abstract (pure virtual) method. It is implemented in descendant objects that return a string designed to work with a particular connection component.  

Connection components call this method, passing in the value of their ServerGUID property. They use the return value to set the ComputerName, URL, Host, or Address property, as appropriate. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!