org.objectweb.proactive.ext.mixedlocation
Class MigrationManagerWithMixedLocation

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.mixedlocation.MigrationManagerWithMixedLocation
All Implemented Interfaces:
java.io.Serializable, MigrationManager

public class MigrationManagerWithMixedLocation
extends MigrationManagerImpl
implements java.io.Serializable

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  LocationServer locationServer
           
protected  int migrationCounter
           
protected  UniversalBodyWrapper wrapper
           
 
Fields inherited from class org.objectweb.proactive.core.body.migration.MigrationManagerImpl
INFINITE_MAX_MIGRATION_NB, INFINITE_MAX_TIME_ON_SITE, INFINITE_TTL, nbOfMigrationWithoutUpdate
 
Fields inherited from class org.objectweb.proactive.core.event.AbstractEventProducer
eventListeners, shouldSerializeListeners
 
Constructor Summary
MigrationManagerWithMixedLocation()
           
MigrationManagerWithMixedLocation(LocationServer locationServer)
           
 
Method Summary
 ReplyReceiver createReplyReceiver(UniversalBody remoteBody, ReplyReceiver currentReplyReceiver)
           
 RequestReceiver createRequestReceiver(UniversalBody remoteBody, RequestReceiver currentRequestReceiver)
           
protected  void createWrapper(UniversalBody remoteBody)
           
 void startingAfterMigration(Body body)
           
 void updateLocation(Body body)
           
 
Methods inherited from class org.objectweb.proactive.core.body.migration.MigrationManagerImpl
addMigrationEventListener, changeBodyAfterMigration, checkNode, launchTimeToLive, migrateTo, notifyOneListener, removeMigrationEventListener, resetNbOfMigrationWithoutUpdate, setMigrationStrategy, 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

wrapper

protected UniversalBodyWrapper wrapper

locationServer

protected transient LocationServer locationServer

migrationCounter

protected int migrationCounter
Constructor Detail

MigrationManagerWithMixedLocation

public MigrationManagerWithMixedLocation()

MigrationManagerWithMixedLocation

public MigrationManagerWithMixedLocation(LocationServer locationServer)
Method Detail

createWrapper

protected void createWrapper(UniversalBody remoteBody)

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

updateLocation

public void updateLocation(Body body)

startingAfterMigration

public void startingAfterMigration(Body body)
Specified by:
startingAfterMigration in interface MigrationManager
Overrides:
startingAfterMigration in class MigrationManagerImpl


Copyright 2001-2007 INRIA All Rights Reserved.