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