1 31 package org.objectweb.proactive.core.body.migration; 32 33 import org.objectweb.proactive.Body; 34 import org.objectweb.proactive.core.body.reply.ReplyReceiver; 35 import org.objectweb.proactive.core.body.request.RequestReceiver; 36 import org.objectweb.proactive.core.body.UniversalBody; 37 import org.objectweb.proactive.core.event.MigrationEventListener; 38 import org.objectweb.proactive.core.node.Node; 39 40 public interface MigrationManager { 41 42 public Node checkNode(Node node) throws MigrationException; 43 44 public UniversalBody migrateTo(Node node, Body body) throws MigrationException; 45 46 public void startingAfterMigration(Body body); 47 48 public RequestReceiver createRequestReceiver(UniversalBody remoteBody, RequestReceiver currentRequestReceiver); 49 50 public ReplyReceiver createReplyReceiver(UniversalBody remoteBody, ReplyReceiver currentReplyReceiver); 51 52 public void addMigrationEventListener(MigrationEventListener listener); 53 54 public void removeMigrationEventListener(MigrationEventListener listener); 55 56 } 57 | Popular Tags |