- Timestamp:
- 12/10/08 11:15:47 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Client.Core/ClientConsoleService
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/ClientConsoleService/ClientConsoleCommunicator.cs
r919 r932 4 4 using System.Text; 5 5 using HeuristicLab.Hive.Client.Core.ClientConsoleService.Interfaces; 6 using HeuristicLab.Hive.Client.Core.ConfigurationManager; 7 using HeuristicLab.Hive.Client.Communication; 6 8 7 9 namespace HeuristicLab.Hive.Client.Core.ClientConsoleService { … … 10 12 11 13 public StatusCommons GetStatusInfos() { 12 throw new NotImplementedException();14 return ConfigManager.Instance.GetStatusForClientConsole(); 13 15 } 14 16 15 17 public ConnectionContainer GetConnection() { 16 throw new NotImplementedException();18 return new ConnectionContainer{IPAdress = WcfService.Instance.ServerIP, Port = WcfService.Instance.ServerPort } ; 17 19 } 18 20 19 21 public void SetConnection(ConnectionContainer container) { 20 throw new NotImplementedException(); 22 WcfService.Instance.Connect(container.IPAdress, container.Port); 23 } 24 25 public void Disconnect() { 26 WcfService.Instance.Disconnect(); 21 27 } 22 28 -
trunk/sources/HeuristicLab.Hive.Client.Core/ClientConsoleService/Interfaces/IClientConsoleCommunicator.cs
r919 r932 14 14 [OperationContract] 15 15 void SetConnection(ConnectionContainer container); 16 [OperationContract] 17 void Disconnect(); 16 18 } 17 19 } -
trunk/sources/HeuristicLab.Hive.Client.Core/ClientConsoleService/TransferObjects/StatusCommons.cs
r919 r932 3 3 using System.Linq; 4 4 using System.Text; 5 using HeuristicLab.Hive.Client.Common; 5 6 6 7 namespace HeuristicLab.Hive.Client.Core.ClientConsoleService { 7 8 [Serializable] 8 public class StatusCommons { 9 public enum ClientStatusEnum { Connected, Disconnected, ConnInterrupted }; 9 public class StatusCommons { 10 10 public Guid ClientGuid { get; set; } 11 public ClientStatusEnumStatus { get; set; }11 public NetworkEnum.WcfConnState Status { get; set; } 12 12 public DateTime ConnectedSince { get; set; } 13 13 public int JobsFetched { get; set; }
Note: See TracChangeset
for help on using the changeset viewer.