Datasnap.DSCommon.TDSClientCallbackChannelManager.TDSChannelCallback

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: class
Visibility: protected
Source:
Datasnap.DSCommon.pas
Datasnap.DSCommon.hpp
Unit: Datasnap.DSCommon
Parent: TDSClientCallbackChannelManager

Delphi

TDSChannelCallback = class(TDBXCallback)

C++

class PASCALIMPLEMENTATION TDSChannelCallback : public Data::Dbxjson::TDBXCallback

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.

See Also