- Timestamp:
- 01/15/09 14:46:57 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/ConfigurationManager/ConfigManager.cs
r1119 r1132 51 51 /// Constructor for the singleton, must recover Guid, Calendar, ... 52 52 /// </summary> 53 private ConfigManager() { 54 //retrive GUID from XML file, or burn in hell. as in hell. not heaven. 55 //this won't work this way. We need a plugin for XML Handling. 53 private ConfigManager() { 56 54 hardwareInfo = new ClientInfo(); 57 55 … … 68 66 } 69 67 68 /// <summary> 69 /// Get all the Information about the client 70 /// </summary> 71 /// <returns>the ClientInfo object</returns> 70 72 public ClientInfo GetClientInfo() { 71 73 hardwareInfo.Login = WcfService.Instance.ConnectedSince; … … 73 75 } 74 76 77 /// <summary> 78 /// Returns the connectioncontainer with the IP and Port, storred in the Settings framework 79 /// </summary> 80 /// <returns>The IP and Port of the server</returns> 75 81 public ConnectionContainer GetServerIPAndPort() { 76 82 ConnectionContainer cc = new ConnectionContainer(); … … 80 86 } 81 87 88 /// <summary> 89 /// Sets and saves IP and Port in the Settings framework 90 /// </summary> 91 /// <param name="cc"></param> 82 92 public void SetServerIPAndPort(ConnectionContainer cc) { 83 93 Settings.Default.ServerIP = cc.IPAdress; … … 85 95 Settings.Default.Save(); 86 96 } 87 97 /// <summary> 98 /// collects and returns information that get displayed by the Client Console 99 /// </summary> 100 /// <returns></returns> 88 101 public StatusCommons GetStatusForClientConsole() { 89 102 StatusCommons st = new StatusCommons();
Note: See TracChangeset
for help on using the changeset viewer.