Internet Direct (Indy)
Home
PreviousUpNext
TIdConnectionIntercept.Disconnect Method

Responds to socket disconnection notifications.

Pascal
procedure Disconnect; virtual;

Disconnect is a procedure that allows TIdConnectionIntercept to respond to notification that the Connection is closing. 

Disconnect ensures that an assigned Intercept will call its Disconnect method. 

When a procedure has been assigned to OnDisconnect, the event handler is triggered. 

Disconnect clears the Connection for connection intercept by assigning Nil to the property. 

Use Connect respond to connection notifications.

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.