Package 

Class AbstractCoAcceptor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit accept(A value) Accept an object.
      abstract Unit acceptObject(A value) Accept a value, after closed check and test for end of data.
      • Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor

        close, getClosed
      • Methods inherited from class net.pwall.pipeline.BaseCoAcceptor

        flush, getComplete, getResult
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractCoAcceptor

        AbstractCoAcceptor()
    • Method Detail

      • accept

         Unit accept(A value)

        Accept an object. Check for pipeline already closed, and handle end of data. This assumes that null is used to indicate end of data; if that is not the case this method must be overridden or an alternative implementation of CoAcceptor used.

        Parameters:
        value - the input value
      • acceptObject

         abstract Unit acceptObject(A value)

        Accept a value, after closed check and test for end of data. Implementing classes must supply an implementation of this method.

        Parameters:
        value - the input value