Creates the IOHandler for the connection.
procedure CreateIOHandler( ABaseType: TIdIOHandlerClass = nil );
ABaseType is an optional Class reference to use when creating the IOHandler for the connection. The default is Nil, and indicates that the default IOHandler class is used to create the object instance.
ManagedIOHandler is set to True to indicate that the IOhandler is managed by the object instance, as opposed to assigned by the application in code.
When a new TIdIOHandler instance is assigned to the IOHandler property, an existing IOHandler will be freed when ManagedIOHandler contains True. IOHandler event handler properties are set to the OnWorkBegin, OnWork, and OnWorkEnd afor the connection object.
If the new IOHandler is derived from TIdIOHandlerSocket, the value in Socket is updated to reflect the new IOHandler instance. In other words, both IOHandler and Socket may contain references to the new IOHandler.
The current connection is added the free notification list for the IOHandler.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.