-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.BaseCoPipeline,net.pwall.pipeline.IntCoAcceptor,net.pwall.pipeline.IntObjectCoPipeline
public abstract class AbstractIntObjectCoPipeline<E extends Object, R extends Object> extends AbstractIntCoAcceptor<R> implements IntObjectCoPipeline<E, R>
Abstract implementation of IntObjectCoPipeline.
-
-
Field Summary
Fields Modifier and Type Field Description private final CoAcceptor<E, R>downstreamprivate final Booleanclosedprivate final Booleancompleteprivate final Rresultprivate final BooleanstageComplete
-
Constructor Summary
Constructors Constructor Description AbstractIntObjectCoPipeline(CoAcceptor<E, R> downstream)
-
Method Summary
Modifier and Type Method Description CoAcceptor<E, R>getDownstream()Unitclose()Close the pipeline. Unitemit(E value)Emit a value to the downstream CoAcceptor. 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 net.pwall.pipeline.IntCoAcceptor
accept, accept -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AbstractIntObjectCoPipeline
AbstractIntObjectCoPipeline(CoAcceptor<E, R> downstream)
-
-
Method Detail
-
getDownstream
CoAcceptor<E, R> getDownstream()
-
emit
Unit emit(E value)
Emit a value to the downstream CoAcceptor.
- Parameters:
value- the value to be forwarded
-
-
-
-