org.objectweb.proactive.ext.locationserver
Class MigrationManagerWithLocationServer

java.lang.Object
  extended by org.objectweb.proactive.core.event.AbstractEventProducer
      extended by org.objectweb.proactive.core.body.migration.MigrationManagerImpl
          extended by org.objectweb.proactive.ext.locationserver.MigrationManagerWithLocationServer
All Implemented Interfaces:
java.io.Serializable, MigrationManager

public class MigrationManagerWithLocationServer
extends MigrationManagerImpl

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.objectweb.proactive.core.body.migration.MigrationManagerImpl
MigrationManagerImpl.MaxTimeOnSiteTimerTask, MigrationManagerImpl.TimeToLiveTimerTask
 
Nested classes/interfaces inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
AbstractEventProducer.ListenerList
 
Field Summary
protected  Body myBody
           
 
Fields inherited from class org.objectweb.proactive.core.body.migration.MigrationManagerImpl
INFINITE_MAX_MIGRATION_NB, INFINITE_MAX_TIME_ON_SITE, INFINITE_TTL, migrationCounter, nbOfMigrationWithoutUpdate
 
Fields inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
eventListeners, shouldSerializeListeners
 
Constructor Summary
MigrationManagerWithLocationServer()
           
MigrationManagerWithLocationServer(LocationServer locationServer)
           
 
Method Summary
 ReplyReceiver createReplyReceiver(UniversalBody remoteBody, ReplyReceiver currentReplyReceiver)
           
 RequestReceiver createRequestReceiver(UniversalBody remoteBody, RequestReceiver currentRequestReceiver)
           
 UniversalBody migrateTo(Node node, Body body)
           
 void updateLocation(Body body)
          update our location on the Location Server
 
Methods inherited from class org.objectweb.proactive.core.body.migration.MigrationManagerImpl
addMigrationEventListener, changeBodyAfterMigration, checkNode, launchTimeToLive, notifyOneListener, removeMigrationEventListener, resetNbOfMigrationWithoutUpdate, setMigrationStrategy, startingAfterMigration, updateLocation
 
Methods inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
addListener, hasListeners, notifyAllListeners, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myBody

protected Body myBody
Constructor Detail

MigrationManagerWithLocationServer

public MigrationManagerWithLocationServer()

MigrationManagerWithLocationServer

public MigrationManagerWithLocationServer(LocationServer locationServer)
Method Detail

updateLocation

public void updateLocation(Body body)
update our location on the Location Server


migrateTo

public UniversalBody migrateTo(Node node,
                               Body body)
                        throws MigrationException
Specified by:
migrateTo in interface MigrationManager
Overrides:
migrateTo in class MigrationManagerImpl
Throws:
MigrationException

createRequestReceiver

public RequestReceiver createRequestReceiver(UniversalBody remoteBody,
                                             RequestReceiver currentRequestReceiver)
Specified by:
createRequestReceiver in interface MigrationManager
Overrides:
createRequestReceiver in class MigrationManagerImpl

createReplyReceiver

public ReplyReceiver createReplyReceiver(UniversalBody remoteBody,
                                         ReplyReceiver currentReplyReceiver)
Specified by:
createReplyReceiver in interface MigrationManager
Overrides:
createReplyReceiver in class MigrationManagerImpl


Copyright 2001-2007 INRIA All Rights Reserved.