diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-18 13:21:20 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2019-02-18 13:21:20 +0200 |
| commit | ccc6add5ea66565453283d7df0f6fbf2324b9264 (patch) | |
| tree | 99d7693a0022043775644ebd0d03436bec9eb34a /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/IMachineStudioService.cs | |
| parent | 8c203b26d50818a1b16b2a7ec48eca7b082653f4 (diff) | |
| download | Tango-ccc6add5ea66565453283d7df0f6fbf2324b9264.tar.gz Tango-ccc6add5ea66565453283d7df0f6fbf2324b9264.zip | |
Refactored machine studio service.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/IMachineStudioService.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/IMachineStudioService.cs | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/IMachineStudioService.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/IMachineStudioService.cs new file mode 100644 index 000000000..748df4644 --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Web/IMachineStudioService.cs @@ -0,0 +1,28 @@ +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.Web; + +namespace Tango.MachineStudio.Common.Web +{ + public interface IMachineStudioService + { + DeploymentSlot Environment { get; set; } + + Task<CheckForUpdatesResponse> CheckForUpdates(CheckForUpdatesRequest request); + + Task<DownloadLatestVersionResponse> DownloadLatestVersion(DownloadLatestVersionRequest request); + + Task<UploadVersionResponse> UploadVersion(UploadVersionRequest request); + + Task<UploadCompletedResponse> NotifyUploadCompleted(UploadCompletedRequest request); + + Task<LatestVersionResponse> GetLatestVersion(LatestVersionRequest request); + + Task<LoginResponse> Login(LoginRequest request); + } +} |
