public void AttachUpstreamBoundary(int connection, UpstreamBoundaryStageLogic logic) { logic.PortToConn[logic.Out.Id + logic.InCount] = connection; logic.Interpreter = this; OutHandlers[connection] = (OutHandler)logic.Handlers[0]; }