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);
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp |
Datasnap.DSPlatform | TDBXServerComponent |
説明
メッセージを指定のクライアントの特定のコールバックに送信します。
NotifyCallback は、Msg
を ChannelName
、ClientId
、および CallbackId
の値を指定して登録したクライアント コールバックに送信します。 Response
の値は、クライアントのコールバックから返された、JSON 値に設定されます。