blob: 70472c082da29ee98119d38d1144b9083b03cac4 (
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
|
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);
}
}
|