-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.BaseCoPipeline,net.pwall.pipeline.IntCoAcceptor,net.pwall.pipeline.IntCoPipeline
public abstract class AbstractIntCoPipeline<R extends Object> extends AbstractIntCoAcceptor<R> implements IntCoPipeline<R>
Abstract implementation of IntCoPipeline.
-
-
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 AbstractIntCoPipeline(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.AbstractIntCoAcceptor
accept, acceptInt -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractIntCoPipeline
AbstractIntCoPipeline(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
-
-
-
-