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);
Eigenschaften
Typ | Sichtbarkeit | Quelle | Unit | Übergeordnet |
---|---|---|---|---|
function | public | Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp |
Datasnap.DSPlatform | TDBXServerComponent |
Beschreibung
Sendet eine TObject-Instanz an eine bestimmte Callback-Funktion eines speziellen Clients.
Mit der Methode NotifyObject wird eine TObject-Instanz an eine bestimmte Callback-Funktion gesendet, 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 TObject-Wert zugewiesen.