aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Views/LoadingErrorView.xaml.cs
blob: 0713cc320fcc66df64c5bf8e615040cd7b2938fc (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Tango.PPC.Common.Update;

namespace Tango.PPC.Common.Update
{
    /// <summary>
    /// Represents an PPC update service for uploading PPC software packages.
    /// </summary>
    [ServiceContract]
    public interface IPPCUpdateService
    {
        /// <summary>
        /// Uploads the version.
        /// </summary>
        /// <param name="request">The request.</param>
        /// <returns></returns>
        [OperationContract]
        UploadVersionResponse UploadVersion(UploadVersionRequest request);

        /// <summary>
        /// Notifies the upload completed.
        /// </summary>
        /// <param name="request">The request.</param>
        [OperationContract]
        void NotifyUploadCompleted(UploadCompletedRequest request);

        /// <summary>
        /// Gets the latest version.
        /// </summary>
        /// <param name="machineVersionGuid">The machine version unique identifier.</param>
        /// <returns></returns>
        [OperationContract]
        LatestVersionResponse GetLatestVersion(String machineVersionGuid);
    }
}