hu.mta.sztaki.lpds.cloud.simulator.iaas
Class VirtualMachine.EventSetup

java.lang.Object
  extended by hu.mta.sztaki.lpds.cloud.simulator.iaas.VirtualMachine.EventSetup
Direct Known Subclasses:
VirtualMachine.StartupProcedure
Enclosing class:
VirtualMachine

private static class VirtualMachine.EventSetup
extends Object

This internal interface is used to customize internal state change actions in the VM class.

Author:
"Gabor Kecskemeti, Distributed and Parallel Systems Group, University of Innsbruck (c) 2013"

Field Summary
 VirtualMachine.State expectedState
          the state that the VM needs to be after the eventsetup completes
 
Constructor Summary
VirtualMachine.EventSetup(VirtualMachine.State eState)
           
 
Method Summary
 void changeEvents(VirtualMachine onMe)
          Implementing this function allows the implementor to provide a custom VM state change function
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expectedState

public final VirtualMachine.State expectedState
the state that the VM needs to be after the eventsetup completes

Constructor Detail

VirtualMachine.EventSetup

public VirtualMachine.EventSetup(VirtualMachine.State eState)
Method Detail

changeEvents

public void changeEvents(VirtualMachine onMe)
Implementing this function allows the implementor to provide a custom VM state change function



Copyright © 2012–2015 University of Innsbruck & MTA SZTAKI. All rights reserved.