Topic Path: Symbol Reference > Classes > TIdServerIOHandlerStack Class > TIdServerIOHandlerStack Methods > MakeClientIOHandler Method
ContentsIndexHome
PreviousUpNext
TIdServerIOHandlerStack.MakeClientIOHandler Method

Creates an IOHandler for the client connextion.

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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.