Datasnap.DSCommon.TDSClientCallbackChannelManager.BroadcastToChannel
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Datasnap.DSCommon.pas Datasnap.DSCommon.hpp
| |
| Unit: Datasnap.DSCommon | |
| Parent: TDSClientCallbackChannelManager | |
Delphi
function BroadcastToChannel(const Msg: TJSONValue; ChannelName: string = ''): Boolean;
C++
bool __fastcall BroadcastToChannel(System::Json::TJSONValue* const Msg, System::UnicodeString ChannelName = System::UnicodeString());
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.