All Classes and Interfaces
Class
Description
An abstract AsyncProcess which describes interactions
between ChannelSupplier and ChannelConsumer.
Defines methods to decode data encoded using as blocks
Defines methods to encode incoming data into Data Blocks
Represents a queue of elements which you can
put and take.Drops exactly N bytes from a csp stream of byte buffers and limits that stream to exactly M bytes in length
This interface represents consumer of data items that should be used serially
(each consecutive
ChannelConsumer.accept(Object) operation should be called only after
previous ChannelConsumer.accept(Object) operation finishes)Provides additional functionality for managing
ChannelConsumers.This supplier allows you to asynchronously read binary data from a file.
This consumer allows you to asynchronously write binary data to a file.
Represents a queue of elements, which you can
put
or take to pass from ChannelConsumer to
ChannelSupplier.This interface represents supplier of
Promise of data that should be used serially
(each consecutive ChannelSupplier.get()) operation should be called only after previous
ChannelSupplier.get() operation finishes.Provides additional functionality for managing
ChannelSuppliers.Represents a
ChannelSupplier which always returns
a promise of null.Represents a
ChannelSupplier which always returns a promise of exception.Represents a
ChannelSupplier which wraps the provided iterator and
returns promises of iterator's values until hasNext() is true, when
there are no more values left, a promise of null is returned.Represents a
ChannelSupplier of one value.Represents a buffer of zero capacity and stores only
one value.
This interface specifies data encoding format which utilizes block structure.
Deprecated.
Represents a simple binary protocol over for communication a TCP connection.
Exception indicates a stream that either is empty or ends with a complete Data Block (with no trailing data),
missing End-Of-Stream Block
RecyclingChannelConsumer<T extends io.activej.common.recycle.Recyclable>
Exception indicates a stream that ends with an incomplete Data Block