Internet Direct (Indy)
Home
PreviousUpNext
TIdStatus Enumeration

Represents the connection status for a component.

Pascal
TIdStatus = (
  hsResolving,
  hsConnecting,
  hsConnected,
  hsDisconnecting,
  hsDisconnected,
  hsStatusText,
  ftpTransfer,
  ftpReady,
  ftpAborted
);

TIdStatus is an enumerated type that represents the connection status for an Indy component. TIdStatus can contain one of the following values and meanings: 

 

Value 
Meaning 
hsResolving 
A host name is being resolved to an IP Address. 
hsConnecting 
A connection is being opened. 
hsConnected 
A connection has been made. 
hsDisconnecting 
The connection is being closed. 
hsDisconnected 
The connection has been closed. 
hsStatusText 
The connection is generating an information message. 
ftpTransfer 
An FTP connection is beginning its transfer. 
ftpReady 
An FTP connection is ready. 
ftpAborted 
An FTP transfer has been aborted. 

 

TIdStatus is provided as an argument to TIdStatusEvent, and allows access to IdStati string values using the enumerated value.

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.