Changeset 7553 for branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/ClientInformation.cs
- Timestamp:
- 03/05/12 22:29:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClientUserManagement/HeuristicLab.Clients.Access/3.3/ClientInformation.cs
r7536 r7553 54 54 55 55 private ClientInformation() { 56 FetchClientInformationFromServer(); 56 if (ClientInformationUtils.IsClientHeuristicLab()) { 57 FetchClientInformationFromServer(); 58 } else { 59 // this means we are executed by an Hive slave, therefore we just get our machine id (e.g. for OKB Algs) 60 // because the slave has already done the registration process 61 GenerateLocalClientConfig(); 62 } 63 } 64 65 private void GenerateLocalClientConfig() { 66 clientExists = true; 67 errorOccured = false; 68 occuredException = null; 69 clientInfo = new Client(); 70 clientInfo.Id = ClientInformationUtils.GetUniqueMachineId(); 57 71 } 58 72
Note: See TracChangeset
for help on using the changeset viewer.