Class InAndOutGraphStageLogic
A GraphStageLogic that implements IInHandler and IOutHandler.
OnUpstreamFinish() calls CompleteStage() OnUpstreamFailure(Exception) calls FailStage(Exception) OnDownstreamFinish(Exception) calls CompleteStage()Inherited Members
Namespace: Akka.Streams.Stage
Assembly: Akka.Streams.dll
Syntax
public abstract class InAndOutGraphStageLogic : GraphStageLogic, IStageLogging, IInHandler, IOutHandler
Constructors
| Edit this page View SourceInAndOutGraphStageLogic(Shape)
TBD
Declaration
protected InAndOutGraphStageLogic(Shape shape)
Parameters
| Type | Name | Description |
|---|---|---|
| Shape | shape | TBD |
InAndOutGraphStageLogic(int, int)
TBD
Declaration
protected InAndOutGraphStageLogic(int inCount, int outCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | inCount | TBD |
| int | outCount | TBD |
Methods
| Edit this page View SourceOnDownstreamFinish(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 |
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()
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()
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 |
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()
Edit this page