Output Event
Fires whenever a segment is complete.
Syntax
public class DefaultHl7writerEventListener implements Hl7writerEventListener { ... public void output(Hl7writerOutputEvent e) {} ... } public class Hl7writerOutputEvent { public byte[] outputData; }
Remarks
The Output event will fire when the writer completes a new segment and writes data to the output stream or buffer. The Data parameter contains the data bytes.