| | 1 | | // Copyright (c) Microsoft. All rights reserved. |
| | 2 | | // Licensed under the MIT license. See LICENSE file in the project root for full license information. |
| | 3 | |
|
| | 4 | | namespace Microsoft.Azure.ServiceBus.Amqp.Framing |
| | 5 | | { |
| | 6 | | using Azure.Amqp; |
| | 7 | |
|
| | 8 | | sealed class AmqpEmptyRuleActionCodec : AmqpRuleActionCodec |
| | 9 | | { |
| 0 | 10 | | public static readonly string Name = AmqpConstants.Vendor + ":empty-rule-action:list"; |
| | 11 | | public const ulong Code = 0x0000013700000005; |
| | 12 | | const int Fields = 0; |
| | 13 | |
|
| 0 | 14 | | public AmqpEmptyRuleActionCodec() : base(Name, Code) { } |
| | 15 | |
|
| 0 | 16 | | protected override int FieldCount => Fields; |
| | 17 | |
|
| | 18 | | protected override void OnEncode(ByteBuffer buffer) |
| | 19 | | { |
| 0 | 20 | | } |
| | 21 | |
|
| | 22 | | protected override void OnDecode(ByteBuffer buffer, int count) |
| | 23 | | { |
| 0 | 24 | | } |
| | 25 | |
|
| | 26 | | protected override int OnValueSize() |
| | 27 | | { |
| 0 | 28 | | return 0; |
| | 29 | | } |
| | 30 | | } |
| | 31 | | } |