Datasnap.DSCommon.TDSClientCallbackChannelManager.BroadcastObjectToChannel
Delphi
function BroadcastObjectToChannel(const Msg: TObject; ChannelName: string = ''): Boolean;
C++
bool __fastcall BroadcastObjectToChannel(System::TObject* 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 any object to all callbacks that are registered with a channel.
The BroadcastObjectToChannel method broadcasts any object to all callbacks that are registered with a channel. The object is given through the Msg parameter.
BroadcastObjectToChannel returns True if the broadcast was successful, False otherwise.