Internet Direct (Indy)
Home
PreviousUpNext
TIdServerIOHandlerStack.MakeClientIOHandler Method

Creates an IOHandler for the client connextion.

Pascal
function MakeClientIOHandler(
    ATheThread: TIdYarn
): TIdIOHandler; override;
Parameters 
Description 
ATheThread 
Thread or fiber for the executing client connection. 

TIdIOHandler - Client-side IOHandler for the connection.

MakeClientIOHandler is an overridden TIdIOHandler function in TIdServerIOHandlerStack used to create the IOHandler for the client connection. 

MakeClientIOHandler uses the IOHandlerSocketClass property to create the IOHandler instance used in the return value for the method. 

Applications will need to cast a client-side IOHandler to the necessary class type (TIdIOHandlerSocket, TIdIOHandlerStack, et. al.) when accessing the value returned in MakeClientIOHandler.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.