Ancestor: HL7Connect.Events.InterfaceBase

This event is called when a message has been sent and no reply was received. Usually this event is used to report errors and take other actions as desired. Note: You can stop the outgoing interface on which this error has occurred, but it will not actually stop until the script for this event has completed, so don't wait for the interface to stop (Started = false)

If the script chooses, it can build a reply in ReplyMessage and set UseReplyMessage. In this case, HL7connect will treat the ReplyMessage as the reply from the interface. Setting UseReplyMessage := true while sequencenumbering is in use can have unexpected consequences. It's best not to do this

Properties

HL7Connect.Exchange.Message Message;
   A handle to the actual message to be sent

HL7Connect.Exchange.Message ReplyMessage;
   A handle to a prebuilt ACK answer message to the message to be sent. If the script wants, it can add to this message, and then set UseReplyMessage to true to have this message become the reply message (rather than sending the message to the nominated interface)

HL7Connect.Kernel.Interface SourceInterface;
   Handle the source interface that received the message. It is possible that the source interface is no longer valid, in which case the value will be null

bool UseReplyMessage;
   set UseReplyMessage to true to have this message become the reply message (rather than sending the message to the nominated interface). Note that the OnReceiveReply event will not be called if UseReplyMessage is true


Methods


© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: Message, ReplyMessage, SourceInterface, UseReplyMessage, HL7Connect.Events.MessageTimeout, MessageTimeout