Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.ServiceModel;
|
---|
6 | using HeuristicLab.Hive.Contracts.BusinessObjects;
|
---|
7 |
|
---|
8 | namespace 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 | ResponseList<ClientGroup> GetAllClientGroups();
|
---|
20 | [OperationContract]
|
---|
21 | Response AddClientGroup(ClientGroup clientGroup);
|
---|
22 | [OperationContract]
|
---|
23 | Response AddResourceToGroup(long clientGroupId, Resource resource);
|
---|
24 | [OperationContract]
|
---|
25 | Response DeleteResourceFromGroup(long clientGroupId, long resourceId);
|
---|
26 | [OperationContract]
|
---|
27 | ResponseList<UpTimeStatistics> GetAllUpTimeStatistics();
|
---|
28 | }
|
---|
29 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.