Datasnap.DSServer.TDSServer.CreateChannelTunnel
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);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSServer.pas Datasnap.DSServer.hpp |
Datasnap.DSServer | TDSServer |
Description
Creates a channel callback.
The CreateChannelTunnel method creates a channel callback. CreateChannelTunnel returns nil if there is already a channel created for a given ClientId, TDSCallbackTunnel otherwise. Call CreateChannelTunnel with the ChannelName, ClientId, and CallbackId parameters.
ChannelName represents the name of the channel callback.
ClientId specifies the identifier of the client channel.
CallbackId specifies the identifier of the channel callback.