Datasnap.Win.MConnect.TDispatchConnection.ObjectBroker

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property ObjectBroker: TCustomObjectBroker read FObjectBroker write SetObjectBroker;

C++

__property TCustomObjectBroker* ObjectBroker = {read=FObjectBroker, write=SetObjectBroker};

Properties

Type Visibility Source Unit Parent
property protected
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect TDispatchConnection

Description

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

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.

See Also