|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.activemq.transport.tcp.QualityOfServiceUtils
public class QualityOfServiceUtils
Utilities for determining the values for the bits in the headers of the outgoing TCP/IP packets that indicate Traffic Class for use in Quality of Service forwarding policies.
Constructor Summary | |
---|---|
QualityOfServiceUtils()
|
Method Summary | |
---|---|
static int |
getDSCP(java.lang.String value)
|
static int |
getToS(int value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QualityOfServiceUtils()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |