 class ComputeEventListener extends KDObject
+
+  {Stopped, Running, Terminated} = Machine.State
 
   constructor:(options = {})->
 


    computeController.emit "public-#{machine._id}", state


  revertToPreviousState:(machine)->



  TypeStateMap =

    stop    : public : "MachineStopped",   private : Stopped
    start   : public : "MachineStarted",   private : Running
    build   : public : "MachineBuilt",     private : Running
    reinit  : public : "MachineBuilt",     private : Running
    resize  : public : "MachineResized",   private : Running
    destroy : public : "MachineDestroyed", private : Terminated


  tick:->
