org.objectweb.proactive.core.descriptor.data
Interface VirtualMachine

All Known Implementing Classes:
VirtualMachineImpl

public interface VirtualMachine

A VirtualMachine is a conceptual entity that represents a JVM running a ProActiveRuntime

Since:
ProActive 0.9.3
Version:
1.0, 2002/09/20
Author:
ProActive Team
See Also:
ProActiveDescriptor, VirtualNode

Method Summary
 java.lang.String getCreatorId()
          Returns the value of creatorId field.
 java.lang.String getHostName()
          Returns the name of the machine where the process mapped to this virtual machine was launched.
 java.lang.String getName()
          Returns the name of this VirtualMachine
 java.lang.String getNodeNumber()
          Returns the number of nodes that will be created on this VirtualMachine
 ExternalProcess getProcess()
          Returns the process mapped to this VirtualMachine
 void setCreatorId(java.lang.String creatorId)
          Sets the creatorId field to the given value
 void setHostsNumber(java.lang.String nodeNumber)
          Sets the number of nodes that will be created on this VirtualMachine.
 void setName(java.lang.String s)
          Sets the name of this VirtualMachine
 void setProcess(ExternalProcess p)
          Sets the process mapped to this VirtualMachine to the given process
 

Method Detail

setHostsNumber

public void setHostsNumber(java.lang.String nodeNumber)
                    throws java.io.IOException
Sets the number of nodes that will be created on this VirtualMachine.

Parameters:
nodeNumber -
Throws:
IOException

getNodeNumber

public java.lang.String getNodeNumber()
Returns the number of nodes that will be created on this VirtualMachine

Returns:
String

setName

public void setName(java.lang.String s)
Sets the name of this VirtualMachine

Parameters:
s -

getName

public java.lang.String getName()
Returns the name of this VirtualMachine

Returns:
String

setProcess

public void setProcess(ExternalProcess p)
Sets the process mapped to this VirtualMachine to the given process

Parameters:
p -

getProcess

public ExternalProcess getProcess()
Returns the process mapped to this VirtualMachine

Returns:
ExternalProcess

getHostName

public java.lang.String getHostName()
Returns the name of the machine where the process mapped to this virtual machine was launched.

Returns:
String

setCreatorId

public void setCreatorId(java.lang.String creatorId)
Sets the creatorId field to the given value


getCreatorId

public java.lang.String getCreatorId()
Returns the value of creatorId field.

Returns:
String The Id of the VirtualNode that created this VirtualMachine


Copyright © April 2004 INRIA All Rights Reserved.