package adt.mainnode.entity; public class PortDetection { private String time; private String ip; private int port; private int length; public PortDetection(String time, String ip, int port, int length) { this.time = time; this.ip = ip; this.port = port; this.length = length; } public String getTime() { return time; } public void setTime(String time) { this.time = time; } public String getIp() { return ip; } public void setIp(String ip) { this.ip = ip; } public int getPort() { return port; } public void setPort(int port) { this.port = port; } @Override public String toString() { return "PortDetection{" + "time='" + time + '\'' + ", ip='" + ip + '\'' + ", port=" + port + ", length=" + length + '}'; } }