When HL7Connect hosts the a COM plugin that sends documents to HL7Connect, it will create an object that must implement this interface. When sending, you can send either source or a document model, or both. If you send both, HL7Connect will use the source by preference

Properties


Methods

void Start(HL7Connect.Services.Access services, HL7Connect.Exchange.DocumentIn handler);
   Allows the implementation to initialise itself. Start is always called first after the interface is created. The handler is what the implementation can call to send documents to HL7Connect.

COM: The implementation is responsible for releasing the handler when it is finished with it. DotNet: The API will free the handler when Stop is called

void Prestop();
   notification that Stop will shortly be called. No further documents will be accepted on the handler after pre-stop is called.

void Stop();
   Allows the implementation to clean up. Prior to calling Stop, HL7Connect will wait for any document being processed by the handler when prestop is called to complete. The interface is always released after Stop is called.


© Kestral Computing P/L 2000 - 2003. HL7Connect v2.00-063 generated on 30-Nov 2015.
Keywords: Start, Stop, Prestop, HL7Connect.Kernel.DocumentSender, DocumentSender