Commit 40f242ce authored by Xiaoying Pu's avatar Xiaoying Pu

wired up a listener just in case it's useful

parent cf6ba94c
......@@ -5,6 +5,7 @@ import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import util.EventListener;
import util.EventType;
/**
*
......@@ -15,6 +16,7 @@ public class PrimaryTaskController {
private final boolean turnUDPOn = true; // TODO what an ugly flag
private final PrimaryTaskModel theModel;
private UDPController udpHandle;
/**
* Event Listener list
*/
......@@ -74,4 +76,13 @@ public class PrimaryTaskController {
}
}).start();
}
class UDPListener extends EventListener {
@Override
public void run(EventType type) {
eventListenerList.stream().forEach((listener) -> {
});
}
}
}
......@@ -13,5 +13,6 @@ public enum EventType {
DECISION_FINISHED,
DIGITINPUT_TO_CONTROLLER,
UDPMSG_FROM_MT,
DIGITINPUT_FINISHED;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment