Datasnap.DSServer.TDSServer.RegisterChannelCallback
Delphi
function RegisterChannelCallback(const ClientId: string; const CallbackId: string;
ChannelNames: TStringList; const SecurityToken: string): Boolean;
C++
bool __fastcall RegisterChannelCallback(const System::UnicodeString ClientId, const System::UnicodeString CallbackId, System::Classes::TStringList* ChannelNames, const System::UnicodeString SecurityToken);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | Datasnap.DSServer.pas Datasnap.DSServer.hpp |
Datasnap.DSServer | TDSServer |
Description
Recense un rappel de canal avec l'instance en cours.
La méthode RegisterChannelCallback recense un rappel de canal avec l'instance en cours. Il est attendu que le rappel est déjà créé par nécessité. Quand le premier rappel est recensé avec le canal client, le tunnel de rappel est créé. Si aucun rappel de client n'est recensé, nulles ressources ne sont allouées. Par conséquent, la nécessité pour CallbackId.
ChannelName représente le nom du rappel de canal.
ClientId représente l'identificateur du canal client.
ClientId représente l'identificateur du rappel de canal.