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

namespace Tango.Transport.Adapters
{
    /// <summary>
    /// Represents a <see cref="TcpTransportAdapter"/> write mode.
    /// </summary>
    public enum TcpTransportAdapterWriteMode
    {
        /// <summary>
        /// Writes the data directly from the Write(); method (default).
        /// </summary>
        Direct,

        /// <summary>
        /// Accumulates the data being written from the Write(); method and writes a block of messages on intervals.
        /// </summary>
        Interval
    }
}