Datasnap.DSCommon.TDSCallbackItem.ListeningOn
Delphi
function ListeningOn(ChannelName: string): Boolean;
C++
bool __fastcall ListeningOn(System::UnicodeString ChannelName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSCommon.pas Datasnap.DSCommon.hpp |
Datasnap.DSCommon | TDSCallbackItem |
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.