using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ServiceModel; using HeuristicLab.Hive.Contracts.BusinessObjects; namespace HeuristicLab.Hive.Contracts.Interfaces { /// /// This is the faced for the management console /// [ServiceContract] public interface IClientManager { [OperationContract] ResponseList GetAllClients(); [OperationContract] [ServiceKnownType(typeof (Resource))] [ServiceKnownType(typeof(ClientInfo))] [ServiceKnownType(typeof(ClientGroup))] ResponseList GetAllClientGroups(); [OperationContract] Response AddClientGroup(ClientGroup clientGroup); [OperationContract] Response AddResourceToGroup(long clientGroupId, Resource resource); [OperationContract] Response DeleteResourceFromGroup(long clientGroupId, long resourceId); [OperationContract] ResponseList GetAllUpTimeStatistics(); } }