Datasnap.DSPlatform.TDBXServerComponent.NotifyCallback
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp
| |
Unit: Datasnap.DSPlatform | |
Parent: TDBXServerComponent |
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);
Description
Sends a message to a specific callback of a specific client.
NotifyCallback sends the Msg
to the client callback that was registered with the given values of ChannelName
, ClientId
, and CallbackId
. The value of Response
will be set to the JSON value returned from the client's callback.