Datasnap.DSCommon.TDSClientCallbackChannelManager.Broadcast
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Datasnap.DSCommon.pas Datasnap.DSCommon.hpp
| |
Unit: Datasnap.DSCommon | |
Parent: TDSClientCallbackChannelManager |
Delphi
procedure Broadcast(Data: TJSONValue; ChannelName: string);
C++
void __fastcall Broadcast(System::Json::TJSONValue* Data, System::UnicodeString ChannelName);
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.