Datasnap.DSClientRest.TDSRESTChannelEventItem

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
record
struct
Visibility: public
Source:
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Unit: Datasnap.DSClientRest
Parent: Datasnap.DSClientRest

Delphi

TDSRESTChannelEventItem = record

C++

struct DECLSPEC_DRECORD TDSRESTChannelEventItem
{
public:
    TDSRESTChannelEventType EventType;
    TDSRestClientChannel* ClientChannel;
    System::UnicodeString ClientChannelId;
    System::UnicodeString ClientChannelName;
    System::UnicodeString CallbackId;
    TDSRestClientCallback* Callback;
};

Description

Event item passed in through the TDSRESRChannelEvent to provide tunnel event information.

TDSRESTChannelEventItem is a record that is passed in as an event item through the TDSRESRChannelEvent to provide tunnel event information.

Field Meaning

EventType

The type of event occurring for a tunnel.

ClientChannel

The channel being acted on.

ClientChannelId

The ID of the channel being acted on.

ClientChannelName

The ServerChannelName of the tunnel being acted on.

CallbackId

The ID of the callback being added or removed.

Callback

The callback being added or removed, or nil if the channel is being closed.

See Also