Internet Direct (Indy)
|
Checks state and status information on the transport for the IO handler.
procedure CheckForDisconnect( ARaiseExceptionIfDisconnected: Boolean = True; AIgnoreBuffer: Boolean = False ); override;
Parameters |
Description |
ARaiseExceptionIfDisconnected |
Indicates if exceptions are raised when the connection has closed prematurely. |
AIgnoreBuffer |
Indicates if data in the Indy buffer is ignored when the connection has closed prematurely. |
CheckForDisconnect is an overridden procedure used to inspect the status of the connection prior to or following a method call that performs an IO operation.
CheckForDisconnect is used primarily to ensure that state and status properties for the IOHandler are synchronized with the underlying transport mechanism.
CheckForDisconnect is an empty implementation in TIdIOHandlerStream. It is used to implement the abstract virtual method from the ancestor class.
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. |