Changeset 2025 for trunk/sources/HeuristicLab.Hive.Client.Communication
- Timestamp:
- 06/05/09 14:40:53 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Communication/3.2/WcfService.cs
r1959 r2025 76 76 public void Connect() { 77 77 try { 78 if (String.Empty.Equals(ServerIP) || ServerPort == 0) { 79 Logging.Instance.Info(this.ToString(), "No Server IP or Port set!"); 80 return; 81 } 78 82 proxy = new ClientFacadeClient( 79 83 WcfSettings.GetStreamedBinding(), … … 118 122 ServerChanged(this, new EventArgs()); 119 123 } 124 125 public void SetIPAndPort(String serverIP, int serverPort) { 126 this.ServerIP = serverIP; 127 this.ServerPort = serverPort; 128 } 120 129 121 130 /// <summary> … … 159 168 if (!res.Success) { 160 169 Logging.Instance.Error(this.ToString(), "Login Failed! " + res.StatusMessage); 161 HandleNetworkError(n ull);170 HandleNetworkError(new Exception(res.StatusMessage)); 162 171 } else { 163 172 ConnState = NetworkEnum.WcfConnState.Loggedin;
Note: See TracChangeset
for help on using the changeset viewer.