Datasnap.DSCommon.TDSCallbackItem.ListeningOn

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.DSCommon.pas
Datasnap.DSCommon.hpp
Unit: Datasnap.DSCommon
Parent: TDSCallbackItem

Delphi

function ListeningOn(ChannelName: string): Boolean;

C++

bool __fastcall ListeningOn(System::UnicodeString ChannelName);

Description

Returns whether this callback is listening to the given ChannelName.

The ListeningOn method returns True if this callback is listening to the given ChannelName. Specifically, if the ChannelName is the ServerChannelName, or is in the Channels list.

See Also