org.inria.myriads.snoozecommon.communication.virtualcluster.migration
Class MigrationRequest

java.lang.Object
  extended by org.inria.myriads.snoozecommon.communication.virtualcluster.migration.MigrationRequest
All Implemented Interfaces:
Serializable

public final class MigrationRequest
extends Object
implements Serializable

Local controller migration request message.

Author:
Eugen Feller
See Also:
Serialized Form

Constructor Summary
MigrationRequest()
           
 
Method Summary
 HypervisorSettings getDestinationHypervisorSettings()
          Returns the destination hypervisort port.
 VirtualMachineLocation getDestinationVirtualMachineLocation()
          Returns the destination virtual machine location.
 VirtualMachineLocation getSourceVirtualMachineLocation()
          Returns the source virtual machine location.
 boolean isMigrated()
          Returns is migrated flag.
 void setDestinationHypervisorSettings(HypervisorSettings hypervisorSettings)
          Sets the destination hypervisor port.
 void setDestinationVirtualMachineLocation(VirtualMachineLocation destinationVirtualMachineLocation)
          Sets the destination virtual machine location.
 void setMigrated(boolean isMigrated)
          Sets is migrated flag.
 void setSourceVirtualMachineLocation(VirtualMachineLocation sourceVirtualMachineLocation)
          Sets the source virtual machine location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MigrationRequest

public MigrationRequest()
Method Detail

setSourceVirtualMachineLocation

public void setSourceVirtualMachineLocation(VirtualMachineLocation sourceVirtualMachineLocation)
Sets the source virtual machine location.

Parameters:
sourceVirtualMachineLocation - The source virtual machine location

getSourceVirtualMachineLocation

public VirtualMachineLocation getSourceVirtualMachineLocation()
Returns the source virtual machine location.

Returns:
The source virtual machine location

setDestinationHypervisorSettings

public void setDestinationHypervisorSettings(HypervisorSettings hypervisorSettings)
Sets the destination hypervisor port.

Parameters:
hypervisorSettings - The destination hypervisor settings

getDestinationHypervisorSettings

public HypervisorSettings getDestinationHypervisorSettings()
Returns the destination hypervisort port.

Returns:
The destination hypervisor port

setDestinationVirtualMachineLocation

public void setDestinationVirtualMachineLocation(VirtualMachineLocation destinationVirtualMachineLocation)
Sets the destination virtual machine location.

Parameters:
destinationVirtualMachineLocation - The destination virtual machine location

getDestinationVirtualMachineLocation

public VirtualMachineLocation getDestinationVirtualMachineLocation()
Returns the destination virtual machine location.

Returns:
The destination virtual machine location

setMigrated

public void setMigrated(boolean isMigrated)
Sets is migrated flag.

Parameters:
isMigrated - The flag

isMigrated

public boolean isMigrated()
Returns is migrated flag.

Returns:
true if migrated, false otherwise


Copyright © 2012. All Rights Reserved.