|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.upb.swtpra05.group03.shuttle.DeadManSwitchControl
Reacts on the PleaseActivateDeadManSwitch message from the
kernel by sending the ActivateDeadManSwitch message back.
| Field Summary | |
private ShuttleControlInterface |
agent
The shuttle control |
private static java.util.logging.Logger |
log
Logger for debugging |
| Constructor Summary | |
DeadManSwitchControl()
Constructor |
|
| Method Summary | |
private void |
activateDeadManSwitch(de.upb.swtpra.kernel.message.PleaseActivateDeadManSwitch msg)
This method will answer the call to an ActivateDeadManSwitch from the kernel with the corresponding message. |
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. |
| 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 ShuttleControlInterface agent
| Constructor Detail |
public DeadManSwitchControl()
| 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 activateDeadManSwitch(de.upb.swtpra.kernel.message.PleaseActivateDeadManSwitch msg)
msg - The received PleaseActivateDeadManSwitch
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||