Class NullModemInputStream

java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.dellroad.stuff.io.NullModemInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class NullModemInputStream extends FilterInputStream
Presents an InputStream interface given a WriteCallback that can write to an OutputStream.

A background process, initated by a provided Executor, invokes the WriteCallback to write to an OutputStream that relays whatever is written to this InputStream.

Exceptions

Regarding this InputStream:

Regarding the OutputStream provided to the WriteCallback:

Since:
1.0.74