Datasnap.DSTCPServerTransport.TDSTCPChannel.GetConnection
Delphi
function GetConnection: TObject;
C++
System::TObject* __fastcall GetConnection();
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Datasnap.DSTCPServerTransport.pas Datasnap.DSTCPServerTransport.hpp |
Datasnap.DSTCPServerTransport | TDSTCPChannel |
Description
Returns the connection object for this channel, if one is available.
The SessionId method returns the connection object for this channel, if one is available. The return value is generally an instance of TIdTCPConnection.