Datasnap.DSPlatform.TDBXServerComponent.NotifyCallback
Delphi
function NotifyCallback(const ClientId: string; const CallbackId: string; const Msg: TJSONValue; out Response: TJSONValue): Boolean;
C++
bool __fastcall NotifyCallback(const System::UnicodeString ClientId, const System::UnicodeString CallbackId, System::Json::TJSONValue* const Msg, /* out */ System::Json::TJSONValue* &Response);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp |
Datasnap.DSPlatform | TDBXServerComponent |
Description
Envoie un message à un callback spécifique d'un client spécifique.
NotifyCallback envoie le Msg
au callback de client qui a été recensé avec les valeurs données de ChannelName
, ClientId
et CallbackId
. La valeur de Response
sera définie sur la valeur JSON renvoyée depuis le callback du client.