org.objectweb.proactive.core.event
Class NodeCreationEvent
java.lang.Object
java.util.EventObject
org.objectweb.proactive.core.event.ProActiveEvent
org.objectweb.proactive.core.event.NodeCreationEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class NodeCreationEvent
- extends ProActiveEvent
Event sent when a Node is created for a given VirtualNode.
- Since:
- ProActive 2.0.1
- Version:
- 1.0, 2004/07/06
- Author:
- ProActive Team
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NODE_CREATED
public static final int NODE_CREATED
- See Also:
- Constant Field Values
node
protected Node node
vn
protected VirtualNode vn
nodeCreated
protected int nodeCreated
NodeCreationEvent
public NodeCreationEvent(VirtualNode vn,
int messageType,
Node node,
int nodeCreated)
- Creates a new
NodeCreationEvent
- Parameters:
vn
- the virtualnode on which the creation occursmessageType
- the type of the eventnode
- the newly created nodenodeCreated
- the number of nodes already created
getNode
public Node getNode()
- Returns:
- Returns the node.
getVirtualNode
public VirtualNode getVirtualNode()
- Returns:
- Returns the vn.
getNodeCreated
public int getNodeCreated()
- Returns:
- Returns the number of nodes already created.
Copyright 2001-2005 INRIA All Rights Reserved.