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