Datasnap.DSClientRest.TDSRESTChannelEventItem

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

  TDSRESTChannelEventItem = record
    EventType: TDSRESTChannelEventType;
    ClientChannel: TDSRestClientChannel;
    ClientChannelId: string;
    ClientChannelName: string;
    CallbackId: string;
    Callback: TDSRestClientCallback;
  end;

C++

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

Properties

Type Visibility Source Unit Parent
record
struct
public
Datasnap.DSClientRest.pas
Datasnap.DSClientRest.hpp
Datasnap.DSClientRest Datasnap.DSClientRest

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