org.objectweb.proactive.ext.locationserver
Class MigrationManagerWithLocationServer

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

public class MigrationManagerWithLocationServer
extends MigrationManagerImpl

See Also:
Serialized Form

Nested Class Summary
 
Nested classes 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
logger
 
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, checkNode, notifyOneListener, removeMigrationEventListener, startingAfterMigration
 
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
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 © April 2004 INRIA All Rights Reserved.