Internet Direct (Indy) Version 9.0.2 Beta
TIdTunnelMaster.OnInterpretMsg
Specifies message processing for tunnel connection sessions.

property OnInterpretMsg: TSendMsgEvent;
Description
OnInterpretMsg is a TSendMsgEvent event handler that allows the tunnel master server to respond to a notification that a message has been received that requires special processing.

OnInterpretMsg is provided to allow TSlaveThread instances to access data interpretation routines specific to the tunnel master server.

Use OnInterpretMsg to perform interpretation of message data for the client connection.

Thread is the client connection that is the recipient of the message.

CustomMsg is the data that needs to be interpreted before allowing transmission to the client connection.

Applications must assign a procedure to the event handler to allow a response to the event notification.