Commit cf6ba94c authored by Xiaoying Pu's avatar Xiaoying Pu

the udp msg back only says if the response is correct or not; just discovered...

the udp msg back only says if the response is correct or not; just discovered that MouseTracker can display something when the response is wrong anyways...
parent ebdae5e9
......@@ -2,6 +2,7 @@ package tracker;
import java.util.Arrays;
import network.UDPHandler;
import util.Persistence;
import static util.UDPConstants.HOST;
import static util.UDPConstants.INTERFACE_ID;
import static util.UDPConstants.MESSAGE_ID;
......@@ -20,8 +21,11 @@ public class UDPController {
private String message_received = "";
private String messageToSend = "";
private Persistence persisHandle;
private final String[] HEADER = new String[]{"interface", "response_#", "incorrect?", "init_time", "response_time"};
public UDPController() {
this.persisHandle = new Persistence("recv.csv", HEADER);
//setUp(); NOTE: should not be called at init
}
......
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