org.dellroad.stuff.io
Interface NullModemOutputStream.ReadCallback

Enclosing class:
NullModemOutputStream

public static interface NullModemOutputStream.ReadCallback

Callback interface used by NullModemOutputStream.


Method Summary
 void readFrom(InputStream input)
          Read from the given input stream.
 

Method Detail

readFrom

void readFrom(InputStream input)
              throws IOException
Read from the given input stream.

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

Parameters:
input - input providing the data written to the corresponding NullModemOutputStream
Throws:
IOException - if an I/O error occurs