Package avail. io
Types
An AvailClient is an accessor of Avail.
A ConsoleInputChannel provides a faux asynchronous interface to a synchronous input stream. The reader must supply UTF-8 encoded characters.
A ConsoleOutputChannel provides a faux asynchronous interface to a synchronous output stream.
This aggregates socket and file I/O information and behavior specific to an AvailRuntime.
NybbleOutputStream is a ByteArrayOutputStream that enforces that only nybbles — values in [0..15] — are written.
A ProcessInputChannel provides a faux asynchronous interface to a synchronous processinput stream. The reader must supply UTF-8 encoded characters.
A ProcessInputChannel provides a faux asynchronous interface to a synchronous output stream.
A convenient CompletionHandler implementation that takes two lambdas at construction, avoiding the hideous inner class notation.
TextInputChannel provides a wrapper for a synchronous input reader that is as asynchronous as possible.
A TextInterface represents an interface between an external process, device, or user and an Avail agent (e.g., an AvailBuilder or fiber). As such, it combines input, output, and error channels, corresponding to the usual notions of standard input, output, and error, respectively. These channels are each text-oriented, and constrained to operate on UTF-8 encoded character data.
TextOutputChannel provides a wrapper for a standard output stream, e.g., System.out and System.err, that is as asynchronous as possible.