RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSocketConnection.ObjectBroker Property

Specifies an Object Broker that allows the connection component to choose from several application servers.

Pascal
property ObjectBroker: TCustomObjectBroker;
C++
__property TCustomObjectBroker ObjectBroker;

Set ObjectBroker to use a broker that maintains a list of servers that support the application specified by ServerName or ServerGUID. When the connection component needs to open a connection, it requests information to identify a server machine from the Object Broker. 

Descendants of TDispatchConnection define properties that specify how to locate server machines. These properties are not saved with the connection component if the ObjectBroker property is set. Instead, the Object Broker provides this information dynamically at runtime from its list of available servers. 

Applications can use TSimpleObjectBroker for an object broker, or derive their own object brokers from TCustomObjectBroker. 

 

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