org.inria.myriads.snoozenode.localcontroller.powermanagement.shutdown.impl
Class Test

java.lang.Object
  extended by org.inria.myriads.snoozenode.localcontroller.powermanagement.shutdown.impl.Test
All Implemented Interfaces:
Shutdown

public final class Test
extends Object
implements Shutdown

Dummy implementation of the shutdown command.

Author:
Eugen Feller

Constructor Summary
Test(ShellCommandExecuter executor)
          Constructor.
 
Method Summary
 boolean shutdown()
          Kills the local controller.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test(ShellCommandExecuter executor)
Constructor.

Parameters:
executor - The executor
Method Detail

shutdown

public boolean shutdown()
Kills the local controller.

Specified by:
shutdown in interface Shutdown
Returns:
true if everything ok, false otherwise


Copyright © 2012. All Rights Reserved.