|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.upb.swtpra05.group03.shuttle.ParkingFeeDrawer
Draws the parking fee from the accounting in the parking fee frequency.
| Field Summary | |
private AccountingInterface |
accounting
The accounting |
private int |
amount
parking fee amount |
private ExecutionInterface |
execution
The execution |
private java.lang.Integer |
frequency
parking fee frequency |
private static java.util.logging.Logger |
log
Logger for debugging |
private PeriodicalWakeUpControlInterface |
periodical
The periodical wake up control |
| Constructor Summary | |
ParkingFeeDrawer()
Constructor |
|
| Method Summary | |
private void |
gameConstants(de.upb.swtpra.kernel.message.GameConstantsMessage msg)
|
void |
init(ModuleContainerInterface container)
Initializes this module. |
void |
newMessageReceived(de.upb.swtpra.kernel.message.Message msg)
React on the received message of the shuttle or not. |
private void |
wakeUpCall(de.upb.swtpra.kernel.message.WakeUpCallMessage msg)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static final java.util.logging.Logger log
private int amount
private java.lang.Integer frequency
private ExecutionInterface execution
private AccountingInterface accounting
private PeriodicalWakeUpControlInterface periodical
| Constructor Detail |
public ParkingFeeDrawer()
| Method Detail |
public void init(ModuleContainerInterface container)
Module
init in interface Modulecontainer - The module manager which contain all modulespublic void newMessageReceived(de.upb.swtpra.kernel.message.Message msg)
ShuttleModule
newMessageReceived in interface ShuttleModulemsg - The received message of the shuttleprivate void gameConstants(de.upb.swtpra.kernel.message.GameConstantsMessage msg)
msg - The GameConstantsMessageprivate void wakeUpCall(de.upb.swtpra.kernel.message.WakeUpCallMessage msg)
msg - The WakeUpCallMessage
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||