Topic Path: Symbol Reference > Classes > TIdIOHandlerStream Class > TIdIOHandlerStream Methods > Open Method
ContentsIndexHome
PreviousUpNext
TIdIOHandlerStream.Open Method

Prepares the stream-based IOHandler for subsequent read and write requests.

procedure Open; override;

Open is an overridden procedure used to prepare the IOHandler for read and write operations. 

Open calls the inherited Open method. 

Open triggers the OnGetStream event handler, when it has been assigned, using ReceiveStream and SendStream as arguments. 

Set the value for StreamType in the OnGetStream event handler or the application creating the IOHandler. 

Use Close to disable the IOHandler for subsequent read or write operations.

TIdIOHandlerStream.OnGetStream 

TIdIOHandlerStream.StreamType 

TIdIOHandlerStream.Close

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