1 package edu.uci.iotproject;
7 * Entry point of the application.
9 * @author Janus Varmarken
13 public static void main(String[] args) {
14 System.out.println("it works");
17 private String cloudIPAddress(String hostName) {
18 if (hostName.equals("events.tplinkra.com"))
19 return 205.251.203.26;
22 // TODO move to separate class
23 // Add parameter that is the trace to be analyzed (most like the pcap library's representation of a flow)
24 public String findPattern(Map<String, List<Integer>> hostnameToPacketLengths, String smartPlugIp) {
26 // No difference, output "Complete match"
27 // If difference, output <Packet no, deviation from expected> for each packet