org.apache.activemq.transport.tcp
public class QualityOfServiceUtils extends java.lang.Object
Constructor and Description |
---|
QualityOfServiceUtils() |
public QualityOfServiceUtils()
public static int getDSCP(java.lang.String value) throws java.lang.IllegalArgumentException
value
- A potential value to be used for Differentiated Services.java.lang.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 java.lang.IllegalArgumentException
value
- A potential value to be used for Type of Service.java.lang.IllegalArgumentException
- if the value is not a legal Type of
Service value.Copyright © 2005-2014. All Rights Reserved.