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);
}
}