Symulacja NAT na przedmiot Symulacje Komputerowe
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
462 B

7 years ago
7 years ago
  1. /*
  2. * NATItem.cpp
  3. *
  4. * Created on: 10-01-2017
  5. * Author: Piotr Dergun
  6. */
  7. #include "NATItem.h"
  8. NATItem::NATItem()
  9. {
  10. this->ip = "0.0.0.0";
  11. this->port = 0;
  12. this->timeout = 0;
  13. }
  14. NATItem::~NATItem()
  15. {
  16. // TODO Auto-generated destructor stub
  17. }
  18. void NATItem::setIp(string ip)
  19. {
  20. }
  21. void NATItem::setPort(int port)
  22. {
  23. }
  24. void NATItem::setTimeout(int timeout)
  25. {
  26. }
  27. string NATItem::getIp()
  28. {
  29. }
  30. int NATItem::getPort()
  31. {
  32. }
  33. int NATItem::getTimeout()
  34. {
  35. }