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 | [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.