org.objectweb.proactive.core.event
Interface MigrationEventListener

All Superinterfaces:
java.util.EventListener, ProActiveListener
All Known Implementing Classes:
MigrationStrategyManagerImpl

public interface MigrationEventListener
extends ProActiveListener

A class implementating this interface is listener of MigrationEvent that occurs in the process of the migration of a body associated to an active object.

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

Method Summary
 void migratedBodyRestarted(MigrationEvent event)
          Signals that the migrated body has restarted of the destination host side
 void migrationAboutToStart(MigrationEvent event)
          Signals that a migration is about to start
 void migrationExceptionThrown(MigrationEvent event)
          Signals that the migration failed with a exception detailed in the event.
 void migrationFinished(MigrationEvent event)
          Signals that the migration is finished on the originating host side
 

Method Detail

migrationAboutToStart

public void migrationAboutToStart(MigrationEvent event)
Signals that a migration is about to start

Parameters:
event - the event that details the migration

migrationFinished

public void migrationFinished(MigrationEvent event)
Signals that the migration is finished on the originating host side

Parameters:
event - the event that details the migration

migrationExceptionThrown

public void migrationExceptionThrown(MigrationEvent event)
Signals that the migration failed with a exception detailed in the event.

Parameters:
event - the event that details the exception occured in the migration

migratedBodyRestarted

public void migratedBodyRestarted(MigrationEvent event)
Signals that the migrated body has restarted of the destination host side

Parameters:
event - the event that details the migration


Copyright ? April 2005 INRIA All Rights Reserved.