SyncInfoRecord.java 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. package de.tudarmstadt.informatik.hostage.logging;
  2. import java.io.Serializable;
  3. /**
  4. * Holds the Information a specific device gathered about a network identified by its BSSID.
  5. * @author Lars Pandikow
  6. */
  7. public class SyncInfoRecord implements Serializable{
  8. private static final long serialVersionUID = 7156818788190434192L;
  9. private String deviceID;
  10. private String BSSID;
  11. private long number_of_attacks;
  12. private long number_of_portscans;
  13. /**
  14. * @return the deviceID
  15. */
  16. public String getDeviceID() {
  17. return deviceID;
  18. }
  19. /**
  20. * @param deviceID the deviceID to set
  21. */
  22. public void setDeviceID(String deviceID) {
  23. this.deviceID = deviceID;
  24. }
  25. /**
  26. * @return the bSSID
  27. */
  28. public String getBSSID() {
  29. return BSSID;
  30. }
  31. /**
  32. * @param bSSID the bSSID to set
  33. */
  34. public void setBSSID(String bSSID) {
  35. BSSID = bSSID;
  36. }
  37. /**
  38. * @return the number_of_attacks
  39. */
  40. public long getNumber_of_attacks() {
  41. return number_of_attacks;
  42. }
  43. /**
  44. * @param number_of_attacks the number_of_attacks to set
  45. */
  46. public void setNumber_of_attacks(long number_of_attacks) {
  47. this.number_of_attacks = number_of_attacks;
  48. }
  49. /**
  50. * @return the number_of_portscans
  51. */
  52. public long getNumber_of_portscans() {
  53. return number_of_portscans;
  54. }
  55. /**
  56. * @param number_of_portscans the number_of_portscans to set
  57. */
  58. public void setNumber_of_portscans(long number_of_portscans) {
  59. this.number_of_portscans = number_of_portscans;
  60. }
  61. }