Datasnap.DSCommon.TDSClientCallbackChannelManager.Broadcast
Delphi
procedure Broadcast(Data: TJSONValue; ChannelName: string);
C++
void __fastcall Broadcast(System::Json::TJSONValue* Data, System::UnicodeString ChannelName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.DSCommon.pas Datasnap.DSCommon.hpp |
Datasnap.DSCommon | TDSClientCallbackChannelManager |
Description
Invokes all of the client's registered callbacks, with the given message.
The Broadcast method is invoked when a message is to be sent to all of the client's callbacks registered with the manager. Note that this is only 'broadcasting' a message to this specific client's callbacks, and not to the server. In general, this should be seen as a delegation resulting from a broadcast event coming from the server.