public void AttachDownstreamBoundary(int connection, DownstreamBoundaryStageLogic logic) { logic.PortToConn[logic.In.Id] = connection; logic.Interpreter = this; InHandlers[connection] = (InHandler)logic.Handlers[0]; }