Datasnap.DSPlatform.TDBXServerComponent.NotifyCallback

提供: RAD Studio API Documentation
移動先: 案内検索

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 は、MsgChannelNameClientId、および CallbackId の値を指定して登録したクライアント コールバックに送信します。 Response の値は、クライアントのコールバックから返された、JSON 値に設定されます。

関連項目