Datasnap.DSServer.TDSCallbackTunnel.AddListeningOnChannelNames

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Datasnap.DSServer.pas
Datasnap.DSServer.hpp
Unit: Datasnap.DSServer
Parent: TDSCallbackTunnel

Delphi

procedure AddListeningOnChannelNames(var ChannelNames: TList<string>; const AllowDuplicates: Boolean = False);

C++

void __fastcall AddListeningOnChannelNames(System::Generics::Collections::TList__1<System::UnicodeString>* &ChannelNames, const bool AllowDuplicates = false);

Description

Populates the given list of strings with the names of all the channels the tunnel or any of its callbacks are listening on.

The AddListeningOnChannelNames method populates the given list of strings with the names of all the channels the tunnel or any of its callbacks are listening on.

Any channel name that would return True from a call to ListeningOn will be added to the list.

See Also