Akka.Streams.Implementation.Fusing.GraphInterpreter.AttachDownstreamBoundary C# (CSharp) Method

AttachDownstreamBoundary() public method

Assign the boundary logic to a given connection. This will serve as the interface to the external world (outside the interpreter) to process and inject events.
public AttachDownstreamBoundary ( int connection, DownstreamBoundaryStageLogic logic ) : void
connection int
logic DownstreamBoundaryStageLogic
return void
        public void AttachDownstreamBoundary(int connection, DownstreamBoundaryStageLogic logic)
        {
            logic.PortToConn[logic.In.Id] = connection;
            logic.Interpreter = this;
            InHandlers[connection] = (InHandler)logic.Handlers[0];
        }