Search Results for

    Show / Hide Table of Contents

    Class InAndOutHandler

    Collection of callbacks for an output port of a GraphStage<TShape> and for an input port of a GraphStage<TShape>

    Inheritance
    object
    InAndOutHandler
    Implements
    IInHandler
    IOutHandler
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Streams.Stage
    Assembly: Akka.Streams.dll
    Syntax
    public abstract class InAndOutHandler : IInHandler, IOutHandler

    Methods

    | Edit this page View Source

    OnDownstreamFinish(Exception)

    Called when the output port will no longer accept any new elements. After this callback no other callbacks will be called for this port.

    Declaration
    public virtual void OnDownstreamFinish(Exception cause)
    Parameters
    Type Name Description
    Exception cause
    | Edit this page View Source

    OnPull()

    Called when the output port has received a pull, and therefore ready to emit an element, i.e. Push<T>(Outlet<T>, T) is now allowed to be called on this port.

    Declaration
    public abstract void OnPull()
    | Edit this page View Source

    OnPush()

    Called when the input port has a new element available. The actual element can be retrieved via the Grab<T>(Inlet<T>) method.

    Declaration
    public abstract void OnPush()
    | Edit this page View Source

    OnUpstreamFailure(Exception)

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

    Declaration
    public virtual void OnUpstreamFailure(Exception e)
    Parameters
    Type Name Description
    Exception e

    TBD

    | Edit this page View Source

    OnUpstreamFinish()

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

    Declaration
    public virtual void OnUpstreamFinish()

    Implements

    IInHandler
    IOutHandler

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET