Event handler signalled to perform data handling for the remote client connection in the proxied session.
property OnOutboundData: TIdServerThreadEvent;
OnOutboundData is a TIdMappedPortContextEvent property that represents the event handler signalled to perform data handling for the remote client connection in the proxied session.
OnOutboundData is used in the protected method that controls execution of the Contexts allocated for the server.
Prior to triggering the OnOutboundData event handler, the ReadList for the proxied session is is used to determine is data is available on the local or remote connections.
Applications must assign a procedure to the OnExecute event handler to allow responding to the event notification. Values in the NetData property for the ContextClass can be modified or removed in OnExecute by setting NetData to an empty string ('').
Following execution of the OnExecute event handler, the OnOutboundData event handler is signalled and non-blank values in the NetData property for the ContextClass instance are written to the remote connection.
When data is available from the remote connection, the values are stored in the NetData property for the TIdMappedPortContext for use in the OnOutboundData event handler.
Following execution of the OnOutboundData event handler, non-blank values in the NetData property for the ContextClass instance are written to the local client connection.
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.