-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.BaseCoPipeline,net.pwall.pipeline.IntCoAcceptor,net.pwall.pipeline.IntObjectCoPipeline
public final class LineCoPipeline<R extends Object> extends AbstractIntObjectCoPipeline<String, R>
-
-
Field Summary
Fields Modifier and Type Field Description private final CoAcceptor<String, R>downstreamprivate final Booleanclosedprivate final Booleancompleteprivate final Rresultprivate final BooleanstageComplete
-
Constructor Summary
Constructors Constructor Description LineCoPipeline(CoAcceptor<String, R> downstream, Integer maxLength)
-
Method Summary
Modifier and Type Method Description UnitacceptInt(Integer value)Accept an int, afterclosedcheck and test for end of data.Unitclose()Close the pipeline. -
Methods inherited from class net.pwall.pipeline.AbstractIntObjectCoPipeline
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 -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
LineCoPipeline
LineCoPipeline(CoAcceptor<String, R> downstream, Integer maxLength)
-
-
-
-