Datasnap.DSCommon.TDSClientCallbackChannelManager.TDSChannelCallback
Delphi
TDSChannelCallback = class(TDBXCallback)
C++
class PASCALIMPLEMENTATION TDSChannelCallback : public Data::Dbxjson::TDBXCallback
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | protected | Datasnap.DSCommon.pas Datasnap.DSCommon.hpp |
Datasnap.DSCommon | TDSClientCallbackChannelManager |
Description
Callback used to wrap a group of callbacks.
The TDSChannelCallback class extends TDBXCallback, and is itself a callback. However, its constructor takes in two TDSChannelInvokeEvent references, and two TDSChannelInvokeEvent references. These are procedures that are used in TDSClientCallbackChannelManager, for example, to broadcast and notify messages to a collection of callbacks. In this way, the one callback is wrapping and delegating into zero or more callbacks.