source: trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IClientManager.cs @ 999

Last change on this file since 999 was 999, checked in by msteinbi, 12 years ago

Updated Client Manager Interface (#427)

File size: 1.0 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.ServiceModel;
6using HeuristicLab.Hive.Contracts.BusinessObjects;
7
8namespace HeuristicLab.Hive.Contracts.Interfaces {
9  /// <summary>
10  /// This is the faced for the management console
11  /// </summary>
12  [ServiceContract]
13  public interface IClientManager {
14    [OperationContract]
15    ResponseList<ClientInfo> GetAllClients();
16    [OperationContract]
17    [ServiceKnownType(typeof (Resource))]
18    [ServiceKnownType(typeof(ClientInfo))]
19    [ServiceKnownType(typeof(ClientGroup))]
20    ResponseList<ClientGroup> GetAllClientGroups();
21    [OperationContract]
22    Response AddClientGroup(ClientGroup clientGroup);
23    [OperationContract]
24    Response AddResourceToGroup(long clientGroupId, Resource resource);
25    [OperationContract]
26    Response DeleteResourceFromGroup(long clientGroupId, long resourceId);
27    [OperationContract]
28    ResponseList<UpTimeStatistics> GetAllUpTimeStatistics();
29  }
30}
Note: See TracBrowser for help on using the repository browser.