Datasnap.DSPlatform.TDBXServerComponent.NotifyObject
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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp |
Datasnap.DSPlatform | TDBXServerComponent |
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.