Datasnap.DSCommon.TDSClientCallbackChannelManager.BroadcastObject
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Datasnap.DSCommon.pas Datasnap.DSCommon.hpp
| |
Unit: Datasnap.DSCommon | |
Parent: TDSClientCallbackChannelManager |
Delphi
procedure BroadcastObject(Data: TJSONValue; ChannelName: string);
C++
void __fastcall BroadcastObject(System::Json::TJSONValue* Data, System::UnicodeString ChannelName);
Description
Invokes all of the client's registered callbacks, with the given object.
The BroadcastObject method is invoked when an object is to be sent to all of the client's callbacks registered with the manager. Note that this is only 'broadcasting' an object 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.