Datasnap.DSPlatform.TDBXServerComponent.NotifyObject

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DSPlatform.pas
Datasnap.DSPlatform.hpp
Unit: Datasnap.DSPlatform
Parent: TDBXServerComponent

Delphi

function NotifyObject(const ClientId, CallbackId: string;
const Msg: TObject; out Response: TObject): Boolean;

C++

bool __fastcall NotifyObject(const System::UnicodeString ClientId, const System::UnicodeString CallbackId, System::TObject* const Msg, /* out */ System::TObject* &Response);

Description

Sends a TObject to a specific callback of a specific client.

The NotifyObject method is used to send a TObject to a specific callback that was registered with the given values of ChannelName, ClientId, and CallbackId. The value of Response will be set to the TObject value returned from the client's callback.

See Also