Package-level declarations
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.
A NybbleArray offers dense storage of nybbles, i.e., values in 0,15. Even indices correspond to low nybbles of bytes, whereas odd indices correspond to high nybbles of bytes.
NybbleInputStream reads from a NybbleArray.
NybbleOutputStream writes a dense stream of nybbles, i.e., values in 0,15, backed by an underlying ByteArrayOutputStream.
A ProcessInputChannel provides a faux asynchronous interface to a synchronous process input 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.