ServicesListItem.java 470 B

123456789101112131415161718192021222324
  1. package de.tudarmstadt.informatik.hostage.ui2.model;
  2. /**
  3. * @author Daniel Lazar
  4. * @created 06.02.14
  5. *
  6. * defines a service list item
  7. */
  8. public class ServicesListItem {
  9. public String protocol;
  10. public int attacks;
  11. public boolean activated;
  12. /**
  13. * constructor of a service list item
  14. *
  15. * @param protocol protocol of this item, e.g. ftp
  16. */
  17. public ServicesListItem(String protocol){
  18. this.protocol = protocol;
  19. this.activated = false;
  20. }
  21. }