blob: a16099e7c8ae21e36877407090ea766d106eaf89 (
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
42
43
44
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using Tango.PPC.Common.Update;
namespace Tango.PPC.Common.Update
{
/// <summary>
/// Represents an PPC update service for uploading PPC software packages.
/// </summary>
public interface IPPCUpdateService
{
/// <summary>
/// Uploads the version.
/// </summary>
/// <param name="request">The request.</param>
/// <returns></returns>
Task<UploadVersionResponse> UploadVersion(UploadVersionRequest request);
/// <summary>
/// Notifies the upload completed.
/// </summary>
/// <param name="request">The request.</param>
Task<UploadCompletedResponse> NotifyUploadCompleted(UploadCompletedRequest request);
/// <summary>
/// Gets the latest version.
/// </summary>
/// <param name="machineVersionGuid">The machine version unique identifier.</param>
/// <returns></returns>
Task<LatestVersionResponse> GetLatestVersion(LatestVersionRequest request);
/// <summary>
/// Gets the hardware versions.
/// </summary>
/// <param name="request">The request.</param>
/// <returns></returns>
Task<MachineVersionsResponse> GetMachineVersions();
}
}
|