aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Transport/PendingResponse.cs
blob: 78c41e88ac2b4602eccb6a7e00b7ce2af27946f8 (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
25
26
27
28
29
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.Transport
{
    /// <summary>
    /// Represents a pending response waiting to be returned to the request sender.
    /// </summary>
    public class PendingResponse
    {
        /// <summary>
        /// Gets or sets a value indicating whether this is a continuous request.
        /// </summary>
        public bool IsContinuous { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="PendingResponse"/> class.
        /// </summary>
        /// <param name="adapter">The adapter.</param>
        /// <param name="isContinuous">if set to <c>true</c> [is continuous].</param>
        public PendingResponse(bool isContinuous)
        {
            IsContinuous = isContinuous;
        }
    }
}