summaryrefslogtreecommitdiffstats
path: root/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IServerService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'win/CS/HandBrake.ApplicationServices/Services/Interfaces/IServerService.cs')
-rw-r--r--win/CS/HandBrake.ApplicationServices/Services/Interfaces/IServerService.cs96
1 files changed, 0 insertions, 96 deletions
diff --git a/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IServerService.cs b/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IServerService.cs
deleted file mode 100644
index 367555418..000000000
--- a/win/CS/HandBrake.ApplicationServices/Services/Interfaces/IServerService.cs
+++ /dev/null
@@ -1,96 +0,0 @@
-// --------------------------------------------------------------------------------------------------------------------
-// <copyright file="IServerService.cs" company="HandBrake Project (http://handbrake.fr)">
-// This file is part of the HandBrake source code - It may be used under the terms of the GNU General Public License.
-// </copyright>
-// <summary>
-// Defines the IServerService type.
-// </summary>
-// --------------------------------------------------------------------------------------------------------------------
-
-namespace HandBrake.ApplicationServices.Services.Interfaces
-{
- using System.Runtime.Serialization;
- using System.ServiceModel;
-
- using HandBrake.ApplicationServices.Model;
-
- /// <summary>
- /// The HandBrakeService interface.
- /// </summary>
- [ServiceContract(CallbackContract = typeof(IHbServiceCallback), SessionMode = SessionMode.Required)]
- public interface IServerService
- {
- /// <summary>
- /// Gets the activity log.
- /// </summary>
- [DataMember]
- string EncodeActivityLog { get; }
-
- /// <summary>
- /// Gets a value indicating whether is encoding.
- /// </summary>
- bool IsEncoding
- {
- [OperationContract]
- get;
- }
-
- /// <summary>
- /// Start the WCF Service
- /// </summary>
- /// <param name="port">
- /// The port.
- /// </param>
- void Start(string port);
-
- /// <summary>
- /// Stop the WCF Service
- /// </summary>
- void Stop();
-
- /// <summary>
- /// Start and Encode
- /// </summary>
- /// <param name="job">
- /// The job.
- /// </param>
- [OperationContract]
- void StartEncode(QueueTask job);
-
- /// <summary>
- /// The process encode logs.
- /// </summary>
- /// <param name="destination">
- /// The destination.
- /// </param>
- /// <param name="configuration">
- /// The configuration.
- /// </param>
- [OperationContract]
- void ProcessEncodeLogs(string destination, HBConfiguration configuration);
-
- /// <summary>
- /// Stop and Encode
- /// </summary>
- [OperationContract]
- void StopEncode();
-
- /// <summary>
- /// Subscribe for callbacks from the called functions
- /// </summary>
- /// <returns>
- /// The System.Boolean.
- /// </returns>
- [OperationContract]
- bool Subscribe();
-
- /// <summary>
- /// Unsubscribe from callbacks.
- /// </summary>
- /// <returns>
- /// The System.Boolean.
- /// </returns>
- [OperationContract]
- bool Unsubscribe();
- }
-} \ No newline at end of file