org/objectweb/proactive/core/descriptor/data/VirtualMachine.java

00001 /* 
00002  * ################################################################
00003  * 
00004  * ProActive: The Java(TM) library for Parallel, Distributed, 
00005  *            Concurrent computing with Security and Mobility
00006  * 
00007  * Copyright (C) 1997-2007 INRIA/University of Nice-Sophia Antipolis
00008  * Contact: proactive@objectweb.org
00009  * 
00010  * This library is free software; you can redistribute it and/or
00011  * modify it under the terms of the GNU Lesser General Public
00012  * License as published by the Free Software Foundation; either
00013  * version 2.1 of the License, or any later version.
00014  *  
00015  * This library is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00017  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018  * Lesser General Public License for more details.
00019  * 
00020  * You should have received a copy of the GNU Lesser General Public
00021  * License along with this library; if not, write to the Free Software
00022  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
00023  * USA
00024  *  
00025  *  Initial developer(s):               The ProActive Team
00026  *                        http://www.inria.fr/oasis/ProActive/contacts.html
00027  *  Contributor(s): 
00028  * 
00029  * ################################################################
00030  */ 
00031 package org.objectweb.proactive.core.descriptor.data;
00032 
00033 import java.io.IOException;
00034 
00035 import org.objectweb.proactive.core.descriptor.services.ServiceUser;
00036 import org.objectweb.proactive.core.descriptor.services.UniversalService;
00037 import org.objectweb.proactive.core.process.ExternalProcess;
00038 
00039 
00050 public interface VirtualMachine extends ServiceUser {
00051 
00057     public void setNbNodes(String nodeNumber) throws java.io.IOException;
00058 
00064     public String getNbNodesOnCreatedVMs();
00065 
00070     public void setName(String s);
00071 
00076     public String getName();
00077 
00078     //    /**
00079     //     * Sets the acquisitionMethod field to the given value
00080     //     * @param s
00081     //     */
00082     //    public void setAcquisitionMethod(String s);
00083     //
00084     //    /**
00085     //     * Returns the AcquisitionMethod value
00086     //     * @return String
00087     //     */
00088     //    public String getAcquisitionMethod();
00089     //    /**
00090     //     * Sets the port number of the acquisition process
00091     //     * @param s
00092     //     */
00093     //    public void setPortNumber(String s);
00094     //
00095     //    /**
00096     //     * Return the Acquisition port number
00097     //     * @param s
00098     //     */
00099     //    public String getPortNumber();
00100 
00105     public void setProcess(ExternalProcess p);
00106 
00111     public ExternalProcess getProcess();
00112 
00117     public void setService(UniversalService service);
00118 
00123     public UniversalService getService();
00124 
00130     public String getHostName();
00131 
00136     public void setCreatorId(String creatorId);
00137 
00142     public String getCreatorId();
00143 
00149     public boolean hasProcess();
00150 }

Generated on Mon Jan 22 15:16:07 2007 for ProActive by  doxygen 1.5.1