Datasnap.Win.MConnect.TCustomObjectBroker

From RAD Studio API Documentation
Jump to: navigation, search

System.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCustomObjectBroker

Delphi

TCustomObjectBroker = class(TComponent)

C++

class PASCALIMPLEMENTATION TCustomObjectBroker : public System::Classes::TComponent

Properties

Type Visibility Source Unit Parent
class public
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect Datasnap.Win.MConnect

Description

TCustomObjectBroker is the base class for components that locate available application servers for a DataSnap connection component.

TCustomObjectBroker defines the methods by which a connection component obtains information about available application servers. When a connection component uses an object broker, it does not save any properties that identify a particular server machine. Instead, when it needs to open a connection, it uses the methods of the object broker to get that identifying information. This process allows client applications to locate server systems dynamically at runtime. If there are redundant server systems, this allows client applications to continue functioning when a server goes down.

TCustomObjectBroker does not implement any of the methods that provide information to connection components. Instead, descendants such as TSimpleObjectBroker implement a mechanism for choosing servers and identifying them to connection components. Application developers can derive more elaborate object brokers that provide additional benefits such as intelligent load balancing.

See Also