-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.BaseCoPipeline,net.pwall.pipeline.IntCoAcceptor,net.pwall.pipeline.IntCoPipeline
public abstract class CoErrorStrategyBase<R extends Object> extends AbstractIntCoPipeline<R>
Base class for encoder and decoder classes to implement the error strategy.
-
-
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 CoErrorStrategyBase(IntCoAcceptor<R> downstream, ErrorStrategy errorStrategy)
-
Method Summary
Modifier and Type Method Description final UnithandleError(Integer value)-
Methods inherited from class net.pwall.pipeline.AbstractIntCoPipeline
close, emit, flush, getDownstream -
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
-
CoErrorStrategyBase
CoErrorStrategyBase(IntCoAcceptor<R> downstream, ErrorStrategy errorStrategy)
-
-
Method Detail
-
handleError
final Unit handleError(Integer value)
-
-
-
-