mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2636 - adding missing diff serv names
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@938461 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6d5c4267fe
commit
4b6c80277a
|
@ -34,7 +34,15 @@ public class QualityOfServiceUtils {
|
|||
= new HashMap<String, Integer>();
|
||||
/** Common names used for Differentiated Services values. */
|
||||
static {
|
||||
DIFF_SERV_NAMES.put("EF", 46);
|
||||
|
||||
DIFF_SERV_NAMES.put("CS0", 0);
|
||||
DIFF_SERV_NAMES.put("CS1", 8);
|
||||
DIFF_SERV_NAMES.put("CS2", 16);
|
||||
DIFF_SERV_NAMES.put("CS3", 24);
|
||||
DIFF_SERV_NAMES.put("CS4", 32);
|
||||
DIFF_SERV_NAMES.put("CS5", 40);
|
||||
DIFF_SERV_NAMES.put("CS6", 48);
|
||||
DIFF_SERV_NAMES.put("CS7", 56);
|
||||
DIFF_SERV_NAMES.put("AF11", 10);
|
||||
DIFF_SERV_NAMES.put("AF12", 12);
|
||||
DIFF_SERV_NAMES.put("AF13", 14);
|
||||
|
@ -47,6 +55,7 @@ public class QualityOfServiceUtils {
|
|||
DIFF_SERV_NAMES.put("AF41", 34);
|
||||
DIFF_SERV_NAMES.put("AF42", 36);
|
||||
DIFF_SERV_NAMES.put("AF43", 38);
|
||||
DIFF_SERV_NAMES.put("EF", 46);
|
||||
}
|
||||
|
||||
private static final int MAX_TOS = 255;
|
||||
|
|
Loading…
Reference in New Issue