Datasnap.DSPlatform.TDBXServerComponent.NotifyCallback

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche

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);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function public
Datasnap.DSPlatform.pas
Datasnap.DSPlatform.hpp
Datasnap.DSPlatform TDBXServerComponent

Beschreibung

Sendet eine Nachricht an eine bestimmte Callback-Funktion eines speziellen Clients.

NotifyCallback sendet die in Msg angegebene Nachricht an die Client-Callback-Funktion, die mit den in den Parametern ChannelName, ClientId und CallbackId angegebenen Werten registriert wurde. Dem Parameter Response wird der von der Client-Callback-Funktion zurückgegebene JSON-Wert zugewiesen.

Siehe auch