Output Event
Fires whenever a segment is complete.
Syntax
public class DefaultX12writerEventListener implements X12writerEventListener { ... public void output(X12writerOutputEvent e) {} ... } public class X12writerOutputEvent { 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.