org.inria.myriads.snoozecommon.communication.localcontroller.hypervisor
Class HypervisorSettings

java.lang.Object
  extended by org.inria.myriads.snoozecommon.communication.localcontroller.hypervisor.HypervisorSettings
All Implemented Interfaces:
Serializable

public final class HypervisorSettings
extends Object
implements Serializable

Hypervisor settings.

Author:
Eugen Feller
See Also:
Serialized Form

Constructor Summary
HypervisorSettings()
          Empty constructor.
HypervisorSettings(HypervisorSettings hypervisorSettings)
          Copy constructor.
 
Method Summary
 HypervisorDriver getDriver()
          Returns the hypervisor driver.
 MigrationSettings getMigration()
          Returns the migration parameters.
 int getPort()
          Returns the hypervisor port.
 HypervisorTransport getTransport()
          Returns the hypervisor transport.
 void setDriver(HypervisorDriver driver)
          Sets the hypervisor driver.
 void setMigration(MigrationSettings migration)
          Sets the migration parameters.
 void setPort(int port)
          Sets the hypervisor port.
 void setTransport(HypervisorTransport transport)
          Sets the hypervisor transport.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HypervisorSettings

public HypervisorSettings()
Empty constructor.


HypervisorSettings

public HypervisorSettings(HypervisorSettings hypervisorSettings)
Copy constructor.

Parameters:
hypervisorSettings - The original object
Method Detail

setDriver

public void setDriver(HypervisorDriver driver)
Sets the hypervisor driver.

Parameters:
driver - The hypervisor driver

getDriver

public HypervisorDriver getDriver()
Returns the hypervisor driver.

Returns:
The hypervisor driver

setPort

public void setPort(int port)
Sets the hypervisor port.

Parameters:
port - The hypervisor port

getPort

public int getPort()
Returns the hypervisor port.

Returns:
The hypervisor port

setTransport

public void setTransport(HypervisorTransport transport)
Sets the hypervisor transport.

Parameters:
transport - The hypervisor transport

getTransport

public HypervisorTransport getTransport()
Returns the hypervisor transport.

Returns:
The hypervisor transport

setMigration

public void setMigration(MigrationSettings migration)
Sets the migration parameters.

Parameters:
migration - The migration parameters

getMigration

public MigrationSettings getMigration()
Returns the migration parameters.

Returns:
The migration parameters


Copyright © 2012. All Rights Reserved.