Topic Path: Symbol Reference > Classes > TIdConnectionIntercept Class > TIdConnectionIntercept Methods > Disconnect Method
ContentsIndexHome
PreviousUpNext
TIdConnectionIntercept.Disconnect Method

Responds to socket disconnection notifications.

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.

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