-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.BaseCoPipeline,net.pwall.pipeline.CoAcceptor,net.pwall.pipeline.ObjectIntCoPipeline
public abstract class AbstractObjectIntCoPipeline<A extends Object, R extends Object> extends AbstractCoAcceptor<A, R> implements ObjectIntCoPipeline<A, R>
Abstract implementation of ObjectIntCoPipeline.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntCoAcceptor<R>downstreamprivate final Booleanclosedprivate final Booleancompleteprivate final Rresultprivate final BooleanstageComplete
-
Constructor Summary
Constructors Constructor Description AbstractObjectIntCoPipeline(IntCoAcceptor<R> downstream)
-
Method Summary
Modifier and Type Method Description IntCoAcceptor<R>getDownstream()Unitclose()Close the pipeline. Unitemit(Integer value)Emit a value to the downstream IntCoAcceptor. Unitflush()Propagate the flush operation to the downstream acceptor. -
Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor
getClosed -
Methods inherited from class net.pwall.pipeline.BaseCoAcceptor
getComplete, getResult -
Methods inherited from class net.pwall.pipeline.BaseCoPipeline
getStageComplete -
Methods inherited from class net.pwall.pipeline.AbstractCoAcceptor
accept, acceptObject -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractObjectIntCoPipeline
AbstractObjectIntCoPipeline(IntCoAcceptor<R> downstream)
-
-
Method Detail
-
getDownstream
IntCoAcceptor<R> getDownstream()
-
emit
Unit emit(Integer value)
Emit a value to the downstream IntCoAcceptor.
- Parameters:
value- the value to be forwarded
-
-
-
-