-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMessageHandlerRole.cs
More file actions
29 lines (25 loc) · 964 Bytes
/
MessageHandlerRole.cs
File metadata and controls
29 lines (25 loc) · 964 Bytes
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
// =================================================================================================================================
// Copyright (c) RapidField LLC. Licensed under the MIT License. See LICENSE.txt in the project root for license information.
// =================================================================================================================================
using System;
namespace RapidField.SolidInstruments.Messaging
{
/// <summary>
/// Defines the role of an <see cref="IMessageHandler{TMessage, TResult}" />.
/// </summary>
public enum MessageHandlerRole : Int32
{
/// <summary>
/// The role is not specified.
/// </summary>
Unspecified = 0,
/// <summary>
/// The handler is a transmitter.
/// </summary>
Transmitter = 1,
/// <summary>
/// The handler is a listener.
/// </summary>
Listener = 2
}
}