org.dellroad.stuff.io
Interface NullModemInputStream.WriteCallback

Enclosing class:
NullModemInputStream

public static interface NullModemInputStream.WriteCallback

Callback interface used by NullModemInputStream.


Method Summary
 void writeTo(OutputStream output)
          Write the output to the given output stream.
 

Method Detail

writeTo

void writeTo(OutputStream output)
             throws IOException
Write the output to the given output stream.

This method will be invoked (once) asynchronously in a dedicated writer thread.

Parameters:
output - output that sends data to the corresponding NullModemInputStream
Throws:
IOException - if an I/O error occurs