Last change
on this file since 814 was
800,
checked in by msteinbi, 16 years ago
|
Added additional WCF endpoint for the server management console - fixed #381
|
File size:
1.3 KB
|
Rev | Line | |
---|
[800] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using HeuristicLab.Hive.Contracts.Interfaces;
|
---|
| 6 | using HeuristicLab.Hive.Contracts.BusinessObjects;
|
---|
| 7 |
|
---|
| 8 | namespace HeuristicLab.Hive.Server.Core {
|
---|
| 9 | public class ServerConsoleFacade: IServerConsoleFacade {
|
---|
| 10 | private IClientManager clientManager = new ClientManager();
|
---|
| 11 |
|
---|
| 12 | #region IClientManager Members
|
---|
| 13 |
|
---|
| 14 | public List<ClientInfo> GetAllClients() {
|
---|
| 15 | return clientManager.GetAllClients();
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | public List<ClientGroup> GetAllClientGroups() {
|
---|
| 19 | return clientManager.GetAllClientGroups();
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | public List<UpTimeStatistics> GetAllUpTimeStatistics() {
|
---|
| 23 | return clientManager.GetAllUpTimeStatistics();
|
---|
| 24 | }
|
---|
| 25 |
|
---|
| 26 | #endregion
|
---|
| 27 |
|
---|
| 28 | #region IJobManager Members
|
---|
| 29 |
|
---|
| 30 | public List<HeuristicLab.Hive.Contracts.BusinessObjects.Job> GetAllJobs() {
|
---|
| 31 | throw new NotImplementedException();
|
---|
| 32 | }
|
---|
| 33 |
|
---|
| 34 | #endregion
|
---|
| 35 |
|
---|
| 36 | #region IUserRoleManager Members
|
---|
| 37 |
|
---|
| 38 | public List<HeuristicLab.Hive.Contracts.BusinessObjects.User> GetAllUsers() {
|
---|
| 39 | throw new NotImplementedException();
|
---|
| 40 | }
|
---|
| 41 |
|
---|
| 42 | public List<HeuristicLab.Hive.Contracts.BusinessObjects.UserGroup> GetAllUserGroups() {
|
---|
| 43 | throw new NotImplementedException();
|
---|
| 44 | }
|
---|
| 45 |
|
---|
| 46 | #endregion
|
---|
| 47 | }
|
---|
| 48 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.