Internet Direct (Indy)
|
Indicates if the IOHandler is ready to perform input operations.
function Readable( AMSec: integer = IdTimeoutDefault ): Boolean; override;
Parameters |
Description |
AMSec |
Milliseconds to wait for the IOHandler to be ready for input operations. Default value is IdTimeoutDefault. |
Boolean - True when the IOHandler is ready and a timeout has not occurred.
Readable is an overridden Boolean function in TIdIOHandlerStreamMsg that indicates if the IOHandler is ready to perform input operations using the ReceiveStream for the stream-aware IOHandler.
AMSec indicates the number of Milliseconds to wait for the IOHandler to be ready for input operations. The default value is IdTimeoutDefault.
If a previous message termination sequence (CRLF.CRLF) has not been read from the stream data source, the inherited Readble method is called, and the return value for the method is set to True.
The return value for the method is False when the ReceiveStream is unassigned, or the message termination sequence has been previously read from the stream data source.
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. |