API:Datasnap.Win.ObjBrkr.TSimpleObjectBroker

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.Win.MConnect.TCustomObjectBrokerSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTSimpleObjectBroker

Delphi

TSimpleObjectBroker = class(TCustomObjectBroker)

C++

class PASCALIMPLEMENTATION TSimpleObjectBroker : public Datasnap::Win::Mconnect::TCustomObjectBroker

Properties

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

Description

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

Datasnap.Win.ObjBrkr.TSimpleObjectBroker inherits from Datasnap.Win.MConnect.TCustomObjectBroker. All content below this line refers to Datasnap.Win.MConnect.TCustomObjectBroker.

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