blob: c27eec658998ea9588e9a8e0e4b793b406d64a4d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
#ifndef __dispatch_amqp_h__
#define __dispatch_amqp_h__ 1
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
/**
* AMQP Performative Tags
*/
#define DX_PERFORMATIVE_HEADER 0x70
#define DX_PERFORMATIVE_DELIVERY_ANNOTATIONS 0x71
#define DX_PERFORMATIVE_MESSAGE_ANNOTATIONS 0x72
#define DX_PERFORMATIVE_PROPERTIES 0x73
#define DX_PERFORMATIVE_APPLICATION_PROPERTIES 0x74
#define DX_PERFORMATIVE_BODY_DATA 0x75
#define DX_PERFORMATIVE_BODY_AMQP_SEQUENCE 0x76
#define DX_PERFORMATIVE_BODY_AMQP_VALUE 0x77
#define DX_PERFORMATIVE_FOOTER 0x78
/**
* AMQP Type Tags
*/
#define DX_AMQP_NULL 0x40
#define DX_AMQP_BOOLEAN 0x56
#define DX_AMQP_TRUE 0x41
#define DX_AMQP_FALSE 0x42
#define DX_AMQP_UBYTE 0x50
#define DX_AMQP_USHORT 0x60
#define DX_AMQP_UINT 0x70
#define DX_AMQP_SMALLUINT 0x52
#define DX_AMQP_UINT0 0x43
#define DX_AMQP_ULONG 0x80
#define DX_AMQP_SMALLULONG 0x53
#define DX_AMQP_ULONG0 0x44
#define DX_AMQP_BYTE 0x51
#define DX_AMQP_SHORT 0x61
#define DX_AMQP_INT 0x71
#define DX_AMQP_SMALLINT 0x54
#define DX_AMQP_LONG 0x81
#define DX_AMQP_SMALLLONG 0x55
#define DX_AMQP_FLOAT 0x72
#define DX_AMQP_DOUBLE 0x82
#define DX_AMQP_DECIMAL32 0x74
#define DX_AMQP_DECIMAL64 0x84
#define DX_AMQP_DECIMAL128 0x94
#define DX_AMQP_UTF32 0x73
#define DX_AMQP_TIMESTAMP 0x83
#define DX_AMQP_UUID 0x98
#define DX_AMQP_VBIN8 0xa0
#define DX_AMQP_VBIN32 0xb0
#define DX_AMQP_STR8_UTF8 0xa1
#define DX_AMQP_STR32_UTF8 0xb1
#define DX_AMQP_SYM8 0xa3
#define DX_AMQP_SYM32 0xb3
#define DX_AMQP_LIST0 0x45
#define DX_AMQP_LIST8 0xc0
#define DX_AMQP_LIST32 0xd0
#define DX_AMQP_MAP8 0xc1
#define DX_AMQP_MAP32 0xd1
#define DX_AMQP_ARRAY8 0xe0
#define DX_AMQP_ARRAY32 0xf0
/**
* Delivery Annotation Headers
*/
const char * const DX_DA_INGRESS; // Ingress Router
const char * const DX_DA_TRACE; // Trace
const char * const DX_DA_TO; // To-Override
/**
* Link Terminus Capabilities
*/
const char * const DX_CAPABILITY_ROUTER;
/**
* Miscellaneous Strings
*/
const char * const DX_INTERNODE_LINK_NAME_1;
const char * const DX_INTERNODE_LINK_NAME_2;
#endif
|