- private String cloudIPAddress(String hostName) {
- if (hostName.equals("events.tplinkra.com"))
- return "205.251.203.26";
- }
+ // TODO: The followings are the way to extract multiple hostnames and their associated packet lengths lists
+ //List<String> list = new ArrayList<>();
+ //list.add("events.tplinkra.com");
+ //FlowPattern fp = new FlowPattern("TP_LINK_LOCAL_ON", list, trainingPcap);
+ //List<String> list2 = new ArrayList<>();
+ //list2.add("devs.tplinkcloud.com");
+ //list2.add("events.tplinkra.com");
+ //FlowPattern fp3 = new FlowPattern("TP_LINK_REMOTE_ON", list2, trainingPcap);