de.upb.swtpra05.group03.shuttle
Interface PeriodicalWakeUpControlInterface

All Known Implementing Classes:
PeriodicalWakeUpControl

public interface PeriodicalWakeUpControlInterface

Interface of a periodical wake up control.

Version:
$Revision: 1.3 $

Method Summary
 void addFrequency(java.lang.Integer frequency)
          Adds the given wake up frequency.
 boolean isPeriodicalWakeUp(java.lang.Integer wakeUpTime, java.lang.Integer frequency)
          Returns if given wake up time is a periodical wake up time of given frequency.
 

Method Detail

addFrequency

public void addFrequency(java.lang.Integer frequency)
Adds the given wake up frequency.

Parameters:
frequency -

isPeriodicalWakeUp

public boolean isPeriodicalWakeUp(java.lang.Integer wakeUpTime,
                                  java.lang.Integer frequency)
Returns if given wake up time is a periodical wake up time of given frequency.

Parameters:
wakeUpTime - wake up time to test
frequency - frequency to test
Returns:
if given wake up time is a periodical wake up time of given frequency