c

akka.stream.stage

AbstractInHandler

abstract class AbstractInHandler extends InHandler

Java API: callbacks for an input port where termination logic is predefined (completing when upstream completes, failing when upstream fails).

Source
GraphStage.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractInHandler
  2. InHandler
  3. AnyRef
  4. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractInHandler()

Abstract Value Members

  1. abstract def onPush(): Unit

    Called when the input port has a new element available.

    Called when the input port has a new element available. The actual element can be retrieved via the GraphStageLogic.grab() method.

    Definition Classes
    InHandler
    Annotations
    @throws( classOf[Exception] )

Concrete Value Members

  1. def onUpstreamFailure(ex: Throwable): Unit

    Called when the input port has failed.

    Called when the input port has failed. After this callback no other callbacks will be called for this port.

    Definition Classes
    InHandler
    Annotations
    @throws( classOf[Exception] )
  2. def onUpstreamFinish(): Unit

    Called when the input port is finished.

    Called when the input port is finished. After this callback no other callbacks will be called for this port.

    Definition Classes
    InHandler
    Annotations
    @throws( classOf[Exception] )