org.objectweb.proactive.core.event
Class BodyEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--org.objectweb.proactive.core.event.ProActiveEvent
              |
              +--org.objectweb.proactive.core.event.BodyEvent
All Implemented Interfaces:
java.io.Serializable

public class BodyEvent
extends ProActiveEvent
implements java.io.Serializable

Event sent when a body get created, destroyed or changed.

Since:
ProActive 0.9
Version:
1.0, 2001/10/23
Author:
ProActive Team
See Also:
Serialized Form

Field Summary
static int BODY_CHANGED
          constant for the changed of a body
static int BODY_CREATED
          constant for the creation of a body
static int BODY_DESTROYED
          constant for the deletion of a body
 
Fields inherited from class org.objectweb.proactive.core.event.ProActiveEvent
GENERIC_TYPE, timeStamp, type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
BodyEvent(UniversalBody body, int messageType)
          Creates a new BodyEvent
 
Method Summary
 UniversalBody getBody()
          Returns the body associated to this event
 
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

BODY_CREATED

public static final int BODY_CREATED
constant for the creation of a body

See Also:
Constant Field Values

BODY_DESTROYED

public static final int BODY_DESTROYED
constant for the deletion of a body

See Also:
Constant Field Values

BODY_CHANGED

public static final int BODY_CHANGED
constant for the changed of a body

See Also:
Constant Field Values
Constructor Detail

BodyEvent

public BodyEvent(UniversalBody body,
                 int messageType)
Creates a new BodyEvent

Method Detail

getBody

public UniversalBody getBody()
Returns the body associated to this event

Returns:
the body associated to this event


Copyright © April 2004 INRIA All Rights Reserved.