Datasnap.DSServer.TDSServer.CreateChannelTunnel

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function CreateChannelTunnel(const ChannelName: string; const ClientId: string;
const CallbackId: string; ChannelNames: TStringList;
const SecurityToken: string): TDSCallbackTunnel;

C++

TDSCallbackTunnel* __fastcall CreateChannelTunnel(const System::UnicodeString ChannelName, 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

Crée un rappel de canal.

La méthode CreateChannelTunnel crée un rappel de canal. CreateChannelTunnel renvoie nil s'il existe déjà un canal créé pour un ClientId donné, TDSCallbackTunnel sinon. Appelez CreateChannelTunnel avec les paramètres ChannelName, ClientId et 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.

Voir aussi