Datasnap.DSCommon.TDSClientCallbackChannelManager.BroadcastObject
Delphi
procedure BroadcastObject(Data: TJSONValue; ChannelName: string);
C++
void __fastcall BroadcastObject(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 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.