Datasnap.DSServer.TDSCallbackTunnel.ListeningOn

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ListeningOn(const ChannelName: string): Boolean;

C++

bool __fastcall ListeningOn(const System::UnicodeString ChannelName);

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DSServer.pas
Datasnap.DSServer.hpp
Datasnap.DSServer TDSCallbackTunnel

Description

Returns whether the tunnel or any of its callbacks are listening on the specified channel.

The ListeningOn method returns whether the tunnel or any of its callbacks are listening on the specified channel.

The tunnel is listening on a channel (and therefore all callbacks are) if the ServerChannelName provided in the constructor is the same as the ChannelName being passed as a parameter to ListeningOn. Specific callbacks are listening on a channel if the ChannelName is in the list of channels they care about.

See Also