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