procedure BeMessageReceiver(name : String; handler : IHL7ConnectMessageTransferOut);
Provide a COM interface to which HL7Connect will send messages.
The name provided must be the name of an outgoing HL7 v2 interface that is defined as a COM interface, configured to be externally driven.
You must provide an implementation of the IHL7ConnectMessageTransfer COM interface that will be called sequentially for each message to be sent to the named HL7Connect interface.
To avoid difficult COM threading problems, the thread that calls this method is used to poll the HL7Connect server for messages, and it will only return from this interface once message receiving is over. This will occur when: