Topic Path: Symbol Reference > Classes > TIdMappedPortTCP Class > TIdMappedPortTCP Events > OnOutboundDisconnect Event
ContentsIndexHome
PreviousUpNext
TIdMappedPortTCP.OnOutboundDisconnect Event

Event handler signalled when the remote connection for the proxied session is disconnected.

property OnOutboundDisconnect: TIdServerThreadEvent;

OnOutboundDisconnect is a TIdMappedPortContextEvent property that represents the event handler signalled when the remote system connection for the proxied session is disconnected. 

Event handlers are signalled in the following order during server processing for closing proxied client connections: 

 

Assign a procedure to the OnOutboundDisconnect event handler to allow responding to the closed connection during execution of a TIdMappedPortContext instance in the server. 

OnOutboundDisconnect is not triggered if the client connection to the remote system has not been successfully opened. 

Use OnDisconnect to perform processing required when the local client connection has been closed for the proxied session.

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