azure-core-amqp
Loading...
Searching...
No Matches
amqp_protocol.hpp
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4//
5// This file contains protocol level definitions for the AMQP protocol.
6
7#pragma once
8
9#include <cstdint>
10
11namespace Azure { namespace Core { namespace Amqp { namespace _detail {
12
20 enum class AmqpDescriptors : std::int64_t
21 {
22 // AMQP Performative descriptors.
23 Error = 0x1d,
24 Open = 0x10,
25 Begin = 0x11,
26 Attach = 0x12,
27 Flow = 0x13,
28 Transfer = 0x14,
29 Disposition = 0x15,
30 Detach = 0x16,
31 End = 0x17,
32 Close = 0x18,
33
34 // Message Dispositions.
35 Received = 0x23,
36 Accepted = 0x24,
37 Rejected = 0x25,
38 Released = 0x26,
39 Modified = 0x27,
40
41 // Terminus related descriptors.
42 Source = 0x28,
43 Target = 0x29,
44
45 // AMQP Sasl descriptors.
46 SaslMechanism = 0x40,
47 SaslInit = 0x41,
48 SaslChallenge = 0x42,
49 SaslResponse = 0x43,
50 SaslOutcome = 0x44,
51
52 // Message related descriptors.
53 Header = 0x70,
54 DeliveryAnnotations = 0x71,
55 MessageAnnotations = 0x72,
56 Properties = 0x73,
57 ApplicationProperties = 0x74,
58 DataBinary = 0x75,
59 DataAmqpSequence = 0x76,
60 DataAmqpValue = 0x77,
61 Footer = 0x78,
62 };
63
64}}}} // namespace Azure::Core::Amqp::_detail