public class QualityOfServiceUtils extends Object
Constructor and Description |
---|
QualityOfServiceUtils() |
public QualityOfServiceUtils()
public static int getDSCP(String value) throws IllegalArgumentException
value
- A potential value to be used for Differentiated Services.IllegalArgumentException
- if the value does not correspond to a
Differentiated Services Code Point or setting the DSCP is not
supported.public static int getToS(int value) throws IllegalArgumentException
value
- A potential value to be used for Type of Service.IllegalArgumentException
- if the value is not a legal Type of
Service value.Copyright © 2005–2015 The Apache Software Foundation. All rights reserved.