Datasnap.DSServer.TDSServer.HasChannelCallback
Delphi
function HasChannelCallback(const ClientId: string): Boolean;
C++
bool __fastcall HasChannelCallback(const System::UnicodeString ClientId);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSServer.pas Datasnap.DSServer.hpp |
Datasnap.DSServer | TDSServer |
Description
Returns whether there is a channel for a given client identifier.
The HasChannelCallback method returns True if there is a channel for a given client identifier, and False if there is no channel with that name or if the channel does not have the specified client. HasChannelCallback has two overloads. The first overload must be called with the ChannelName and the ClientId parameters. The second overload must be called only with the ChannelName parameter and returns True if there is a channel with the given name, False otherwise.
ChannelName represents the name of the channel callback.
ClientId specifies the identifier of the client channel.