1 31 package org.objectweb.proactive.core.event; 32 33 import org.objectweb.proactive.Body; 34 import org.objectweb.proactive.core.body.migration.MigrationException; 35 36 47 public class MigrationEvent extends ProActiveEvent implements java.io.Serializable { 48 49 public static final int BEFORE_MIGRATION = 10; 50 public static final int AFTER_MIGRATION = 20; 51 public static final int RESTARTING_AFTER_MIGRATING = 30; 52 public static final int MIGRATION_EXCEPTION = 40; 53 54 60 public MigrationEvent(Body body, int type) { 61 super(body, type); 62 } 63 64 68 public MigrationEvent(MigrationException exception) { 69 super(exception, MIGRATION_EXCEPTION); 70 } 71 72 } | Popular Tags |