Datasnap.DSServer.TDSServer.HasChannelCallback

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function HasChannelCallback(const ClientId: string): Boolean;

C++

bool __fastcall HasChannelCallback(const System::UnicodeString ClientId);

Propriétés

Type Visibilité  Source Unité  Parent
function public
Datasnap.DSServer.pas
Datasnap.DSServer.hpp
Datasnap.DSServer TDSServer

Description

Renvoie s'il existe un canal pour un identificateur de client donné.

La méthode HasChannelCallback renvoie True s'il existe un canal pour un identificateur de client donné, et False s'il n'existe aucun canal sous ce nom, ou si le canal n'a pas le client spécifié. HasChannelCallback a deux surcharges. La première surcharge doit être appelée avec les paramètres ChannelName et ClientId. La deuxième surcharge doit être appelée seulement avec le paramètre ChannelName et renvoie True s'il existe un canal sous le nom donné, False sinon.

ChannelName représente le nom du rappel de canal.

ClientId représente l'identificateur du canal client.

Voir aussi