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