Datasnap.DSPlatform.TDBXServerComponent.BroadcastObjectToChannel
Delphi
function BroadcastObjectToChannel(const ChannelName: string; const Msg: TObject): Boolean;
C++
bool __fastcall BroadcastObjectToChannel(const System::UnicodeString ChannelName, System::TObject* const Msg);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Datasnap.DSPlatform.pas Datasnap.DSPlatform.hpp |
Datasnap.DSPlatform | TDBXServerComponent |
Description
Sends a TObject message to all registered clients.
BroadcastObjectToChannel sends a message to all clients who have registered a client channel/callback - with ConsumeClientChannel, for example - specifying, at the same time, a ChannelName
in the registration process that matches the ChannelName
of this Broadcast call.