org.inria.myriads.snoozenode.groupmanager.powermanagement.api.impl
Class WakeOnLan

java.lang.Object
  extended by org.inria.myriads.snoozenode.groupmanager.powermanagement.api.impl.WakeOnLan
All Implemented Interfaces:
WakeUp

public final class WakeOnLan
extends Object
implements WakeUp

Implements a Wake-on-Lan (WOL) driver.

Author:
Eugen Feller

Constructor Summary
WakeOnLan(ShellCommandExecuter executor)
          Constructor.
 
Method Summary
 boolean wakeUp(String options)
          Wake-On-Lan (WOL) wakeup.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WakeOnLan

public WakeOnLan(ShellCommandExecuter executor)
Constructor.

Parameters:
executor - The shell command executor
Method Detail

wakeUp

public boolean wakeUp(String options)
Wake-On-Lan (WOL) wakeup.

Specified by:
wakeUp in interface WakeUp
Parameters:
options - The options
Returns:
true if everything ok, false otherwise


Copyright © 2012. All Rights Reserved.