Package 

Class ChannelCoAcceptor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      ChannelCoAcceptor(SendChannel<A> channel)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Unit getResult()
      Unit acceptObject(A value) Accept a value, after closed check and test for end of data.
      Unit close() Close the acceptor.
      • Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor

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

        flush, getComplete
      • Methods inherited from class net.pwall.pipeline.AbstractCoAcceptor

        accept
      • Methods inherited from class java.lang.Object

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

      • ChannelCoAcceptor

        ChannelCoAcceptor(SendChannel<A> channel)
    • Method Detail

      • acceptObject

         Unit acceptObject(A value)

        Accept a value, after closed check and test for end of data. Send the value to the SendChannel.

        Parameters:
        value - the input value