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);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp |
Datasnap.DSPlatform | TDBXServerComponent |
Description
Envoie un TObject à un callback spécifique d'un client spécifique.
La méthode NotifyObject est utilisée pour envoyer un TObject à un callback spécifique qui a été recensé avec les valeurs données de ChannelName
, ClientId
et CallbackId
. La valeur de Response
sera définie sur la valeur TObject renvoyée depuis le callback du client.