Indy 9
TIdTCPServerConnection
Hierarchy, Properties, Methods, Events, See Also, Unit: IdTCPServer
Encapsulates a server connection to a client.
TIdTCPServerConnection = class(TIdTCPConnection)
Unit
IdTCPServer
Description
TIdTCPServerConnection encapsulates a server connection to a client on a TIdTCPServer. TIdTCPServerConnection is used by TIdPeerThread to provide the server context for accessing any properties, methods, or events of the TCP server.

TIdTCPServerConnection.Server
TIdTCPServerConnection, See Also
Provides the server context for a client connection.
property Server: TIdTCPServer;
Description
Server is a read-only TIdTCPServer property used to store the server context for the class. In TIdTCPServerConnection, the TIdTCPServer is also the Owner of the TIdTCPServerConnection class instance.

TIdTCPServerConnection.Create
TIdTCPServerConnection, See Also
Constructor for the object instance.
constructor Create(AServer: TIdTCPServer); reintroduce;
Parameters
AServer: TIdTCPServer
Server used as the end-point for the connection.
Description
Create is the constructor for the object instance, and calls the inherited Create method. Create sets the Server property to the value in AServer to indicate the TIdTCPServer context used when a peer thread is executed.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.