org.objectweb.proactive.core.event
Class MigrationEvent

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

public class MigrationEvent
extends ProActiveEvent
implements java.io.Serializable

MigrationEvents occur during the migration of an active object. Several type allow to determine when the event occured in the process of migration.

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

Field Summary
static int AFTER_MIGRATION
           
static int BEFORE_MIGRATION
           
static int MIGRATION_EXCEPTION
           
static int RESTARTING_AFTER_MIGRATING
           
 
Fields inherited from class org.objectweb.proactive.core.event.ProActiveEvent
GENERIC_TYPE, timeStamp, type
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
MigrationEvent(Body body, int type)
          Creates a new MigrationEvent occuring during the migration of the active object linked to the given body.
MigrationEvent(MigrationException exception)
          Creates a new MigrationEvent based on an exception occuring during the process of migration.
 
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

BEFORE_MIGRATION

public static final int BEFORE_MIGRATION
See Also:
Constant Field Values

AFTER_MIGRATION

public static final int AFTER_MIGRATION
See Also:
Constant Field Values

RESTARTING_AFTER_MIGRATING

public static final int RESTARTING_AFTER_MIGRATING
See Also:
Constant Field Values

MIGRATION_EXCEPTION

public static final int MIGRATION_EXCEPTION
See Also:
Constant Field Values
Constructor Detail

MigrationEvent

public MigrationEvent(Body body,
                      int type)
Creates a new MigrationEvent occuring during the migration of the active object linked to the given body.


MigrationEvent

public MigrationEvent(MigrationException exception)
Creates a new MigrationEvent based on an exception occuring during the process of migration.



Copyright © April 2004 INRIA All Rights Reserved.