aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/ExternalBridge/IExternalBridgeClient.cs
blob: d336b6b70602b8b70e4873d611b170193cc49fdf (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
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.Integration.Operation;
using Tango.Transport;
using Tango.Transport.Transporters;

namespace Tango.Integration.ExternalBridge
{
    /// <summary>
    /// Represents a Tango machine external bridge service client.
    /// </summary>
    /// <seealso cref="Tango.Transport.ITransporter" />
    public interface IExternalBridgeClient : IMachineOperator
    {
        /// <summary>
        /// Gets a value indicating whether this client requires authentication.
        /// </summary>
        bool RequiresAuthentication { get; }

        /// <summary>
        /// Gets or sets the machine serial number.
        /// </summary>
        String SerialNumber { get; set; }

        /// <summary>
        /// Gets the database machine associated with this client.
        /// </summary>
        Machine Machine { get; }

        /// <summary>
        /// Sets the database machine.
        /// </summary>
        /// <param name="machine">The machine.</param>
        void SetMachine(Machine machine);
    }
}