aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Transport/TransportAdapterMode.cs
blob: e89eba38d0aa28c34e7b6a33b71ea1a55de29e91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Transport
{
    /// <summary>
    /// Represents an <see cref="ITransportAdapter"/> read/write mode.
    /// </summary>
    public enum TransportAdapterMode
    {
        /// <summary>
        /// Pure protobuf message with no message size.
        /// </summary>
        NO_HEADER,
        /// <summary>
        /// Prepends and truncates the message size before writing and reading.
        /// </summary>
        PREPEND_HEADER
    }
}