public void setTypeOfService(int typeOfService) {
   this.trafficClass = QualityOfServiceUtils.getToS(typeOfService);
   this.typeOfServiceChosen = true;
 }
 public void setDiffServ(String diffServ) throws IllegalArgumentException {
   this.trafficClass = QualityOfServiceUtils.getDSCP(diffServ);
   this.diffServChosen = true;
 }