Topic Path: Pending > TIdIOHandler.MakeDefaultIOHandler@TComponent
ContentsIndexHome
PreviousUpNext
TIdIOHandler.MakeDefaultIOHandler@TComponent

Creates a new IOHandler instance using the default class type.

Parameters 
Description 
AOwner 
Owner of the object instance created with the default class type. 

TIdIOHandler - Object instance created using the default class reference for the IOHandler.

MakeDefaultIOHandler is a TIdIOHandler class function used to create an instance of the TIdIOHandler class using the default class type defined for the unit. 

MakeDefaultIOHandler uses GIOHandlerClassDefault to create the object instance used as the return value for the function. 

AOwner is the owner of the new object instance created with the default class type. 

MakeDefaultIOHandler is used in TIdTCPConnection.CreateIOHandler and TIdTCPClientCustom.MakeImplicitClientHandler when a class reference is omitted as an argument to the methods.

GIOHandlerClassDefault 

TIdTCPConnection.CreateIOHandler 

TIdTCPClientCustom.MakeImplicitClientHandler

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