| | | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | | 2 | | // Licensed under the MIT License. |
| | | 3 | | |
| | | 4 | | using Microsoft.Azure.Amqp; |
| | | 5 | | |
| | | 6 | | namespace Azure.Messaging.ServiceBus.Amqp.Framing |
| | | 7 | | { |
| | | 8 | | internal sealed class AmqpEmptyRuleActionCodec : AmqpRuleActionCodec |
| | | 9 | | { |
| | | 10 | | public const string Name = AmqpConstants.Vendor + ":empty-rule-action:list"; |
| | | 11 | | public const ulong Code = 0x0000013700000005; |
| | | 12 | | private 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 | | } |