Datasnap.DSSession.TDSTunnelService.DefaultCloseSessionEvent

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.DSSession.pas
Datasnap.DSSession.hpp
Unit: Datasnap.DSSession
Parent: TDSTunnelService

Delphi

procedure DefaultCloseSessionEvent(Sender: TObject; Session: TDSTunnelSession;
Content: TArray<Byte>; var Count: Integer);

C++

void __fastcall DefaultCloseSessionEvent(System::TObject* Sender, TDSTunnelSession* Session, System::DynamicArray<System::Byte> Content, int &Count);

Description

Represents the default implementation of the event triggered when a session is closed successfully.

The DefaultCloseSessionEvent method represents the event triggered each time a session is closed successfully. The default implementation delegates to the OnCloseSession property, if set.

The following table lists the arguments of the DefaultCloseSessionEvent method.



Argument Meaning

Sender

Represents the event sender.

Session

Represents the tunnel session instance that manages the current communication.

Content

Specifies the byte content.

Count

Specifies the size of the byte content, in bytes.



See Also