Datasnap.DSCommon.TDSClientCallbackChannelManager.BroadcastToChannel

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function BroadcastToChannel(const Msg: TJSONValue; ChannelName: string = ''): Boolean;

C++

bool __fastcall BroadcastToChannel(System::Json::TJSONValue* const Msg, System::UnicodeString ChannelName = System::UnicodeString());

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DSCommon.pas
Datasnap.DSCommon.hpp
Datasnap.DSCommon TDSClientCallbackChannelManager

Description

Broadcasts a message to all callbacks that are registered with a channel.

The BroadcastToChannel method broadcasts a message to all callbacks that are registered with a channel. The message is given through the Msg parameter.

BroadcastToChannel returns True if the broadcast was successful, False otherwise.

See Also