Package io.activej.csp.consumer.impl
Class OfConsumer<T>
java.lang.Object
io.activej.reactor.AbstractReactive
io.activej.reactor.ImplicitlyReactive
io.activej.async.process.AbstractAsyncCloseable
io.activej.csp.consumer.AbstractChannelConsumer<T>
io.activej.csp.consumer.impl.OfConsumer<T>
- All Implemented Interfaces:
io.activej.async.process.AsyncCloseable,ChannelConsumer<T>,io.activej.reactor.Reactive
-
Field Summary
FieldsFields inherited from class io.activej.reactor.AbstractReactive
reactorFields inherited from interface io.activej.async.process.AsyncCloseable
STATIC -
Constructor Summary
ConstructorsConstructorDescriptionOfConsumer(io.activej.common.function.ConsumerEx<T> consumer, @Nullable io.activej.async.process.AsyncCloseable closeable) -
Method Summary
Methods inherited from class io.activej.csp.consumer.AbstractChannelConsumer
acceptMethods inherited from class io.activej.async.process.AbstractAsyncCloseable
closeEx, doSanitize, getCloseable, getException, isClosed, onCleanup, onClosed, sanitize, setCloseableMethods inherited from class io.activej.reactor.AbstractReactive
getReactorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.activej.async.process.AsyncCloseable
close, closeExMethods inherited from interface io.activej.csp.consumer.ChannelConsumer
acceptAll, acceptAll, acceptAll, acceptEndOfStream, async, filter, map, mapAsync, peek, transformWith, withAcknowledgement, withExecutor
-
Field Details
-
consumer
-
-
Constructor Details
-
OfConsumer
public OfConsumer(io.activej.common.function.ConsumerEx<T> consumer, @Nullable @Nullable io.activej.async.process.AsyncCloseable closeable)
-
-
Method Details
-
doAccept
- Specified by:
doAcceptin classAbstractChannelConsumer<T>
-