- Timestamp:
- 12/10/08 09:43:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server.Core/ClientManager.cs
r907 r929 27 27 using HeuristicLab.Hive.Contracts.BusinessObjects; 28 28 using HeuristicLab.Hive.Contracts; 29 using HeuristicLab.Hive.Server.Core.InternalInterfaces.DataAccess; 29 30 30 31 namespace HeuristicLab.Hive.Server.Core { 31 32 class ClientManager: IClientManager { 33 34 IClientAdapter clientAdapter; 32 35 33 36 List<ClientInfo> clients; … … 35 38 36 39 public ClientManager() { 40 clientAdapter = ServiceLocator.GetClientAdapter(); 41 37 42 clients = new List<ClientInfo>(); 38 43 clientGroups = new List<ClientGroup>(); … … 59 64 public ResponseList<ClientInfo> GetAllClients() { 60 65 ResponseList<ClientInfo> response = new ResponseList<ClientInfo>(); 61 response.List = clients; 66 67 response.List = new List<ClientInfo>(clientAdapter.GetAllClients()); 68 response.StatusMessage = ApplicationConstants.RESPONSE_CLIENT_GET_ALL_CLIENTS; 62 69 response.Success = true; 70 63 71 return response; 64 72 }
Note: See TracChangeset
for help on using the changeset viewer.