azure-core-amqp
Loading...
Searching...
No Matches
messaging_values.hpp
1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4#pragma once
5
6#include "azure/core/amqp/models/amqp_value.hpp"
7
8namespace Azure { namespace Core { namespace Amqp { namespace Models { namespace _internal {
9 class Messaging final {
10 public:
11 static Models::AmqpValue DeliveryReceived(uint32_t sectionNumber, uint64_t sectionOffset);
12 static Models::AmqpValue DeliveryAccepted();
13 static Models::AmqpValue DeliveryRejected(
14 std::string const& errorCondition,
15 std::string const& errorDescription,
16 Models::AmqpValue const& errorInformation);
17 static Models::AmqpValue DeliveryReleased();
18 static Models::AmqpValue DeliveryModified(
19 bool deliveryFailed,
20 bool undeliverableHere,
21 Models::AmqpValue annotations);
22
23 private:
24 Messaging() = delete;
25 ~Messaging() = delete;
26 };
27
28}}}}} // namespace Azure::Core::Amqp::Models::_internal