org.objectweb.proactive.core.event
Class NodeCreationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended byorg.objectweb.proactive.core.event.ProActiveEvent
          extended byorg.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

Field Summary
protected  Node node
           
static int NODE_CREATED
           
protected  int nodeCreated
           
protected  VirtualNode vn
           
 
Fields inherited from class org.objectweb.proactive.core.event.ProActiveEvent
GENERIC_TYPE, timeStamp, type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
NodeCreationEvent(VirtualNode vn, int messageType, Node node, int nodeCreated)
          Creates a new NodeCreationEvent
 
Method Summary
 Node getNode()
           
 int getNodeCreated()
           
 VirtualNode getVirtualNode()
           
 
Methods inherited from class org.objectweb.proactive.core.event.ProActiveEvent
getTimeStamp, getType, toString
 
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
 

Field Detail

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
Constructor Detail

NodeCreationEvent

public NodeCreationEvent(VirtualNode vn,
                         int messageType,
                         Node node,
                         int nodeCreated)
Creates a new NodeCreationEvent

Parameters:
vn - the virtualnode on which the creation occurs
messageType - the type of the event
node - the newly created node
nodeCreated - the number of nodes already created
Method Detail

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.