- Timestamp:
- 03/16/11 14:12:30 (14 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4
- Files:
-
- 1 deleted
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/ConfigManager.cs
r5621 r5711 240 240 241 241 public static int GetFreeMemory() { 242 PerformanceCounter counter = new PerformanceCounter("Memory", "Available Bytes", true); 243 int mb = (int)(counter.NextValue() / 1024 / 1024); 242 int mb = 0; 243 244 try { 245 PerformanceCounter counter = new PerformanceCounter("Memory", "Available Bytes", true); 246 mb = (int)(counter.NextValue() / 1024 / 1024); 247 } 248 catch { } 244 249 return mb; 245 250 } -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/HeuristicLab.Clients.Hive.Slave-3.4.csproj
r5599 r5711 105 105 <Compile Include="InvalidStateException.cs" /> 106 106 <Compile Include="JobStatus.cs" /> 107 <Compile Include="Logger.cs">108 <SubType>Code</SubType>109 </Compile>110 107 <Compile Include="MessageQueue.cs" /> 111 108 <Compile Include="NetworkEnum.cs" /> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/SlaveClientCom.cs
r5599 r5711 52 52 private void SetupClientCom() { 53 53 DummyListener dummy = new DummyListener(); 54 pipeFactory = new DuplexChannelFactory<ISlaveCommunication>( 55 dummy, new NetNamedPipeBinding(), new EndpointAddress("net.pipe://localhost/HeuristicLabSlaveCom")); 54 pipeFactory = new DuplexChannelFactory<ISlaveCommunication>(dummy, "SlaveCommunicationServiceEndpoint"); 56 55 ISlaveCommunication pipeProxy = pipeFactory.CreateChannel(); 57 56 ClientCom = pipeProxy; -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/app_ascheibe.config
r5599 r5711 33 33 </services> 34 34 <client> 35 <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/> 35 36 <endpoint address="http://services.heuristiclab.com/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService"> 36 37 <identity> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/app_f005pc.config
r5599 r5711 33 33 </services> 34 34 <client> 35 <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/> 35 36 <endpoint address="http://localhost/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService"> 36 37 <identity> -
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/app_services.config
r5599 r5711 33 33 </services> 34 34 <client> 35 <endpoint name="SlaveCommunicationServiceEndpoint" address="net.pipe://localhost/HeuristicLabSlaveCom" binding="netNamedPipeBinding" contract="HeuristicLab.Clients.Hive.SlaveCore.ServiceContracts.ISlaveCommunication"/> 35 36 <endpoint address="http://services.heuristiclab.com/Hive-3.4/HiveService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding" contract="HeuristicLab.Clients.Hive.IHiveService" name="wsHttpBinding_IHiveService"> 36 37 <identity>
Note: See TracChangeset
for help on using the changeset viewer.