Changeset 2058 for trunk/sources/HeuristicLab.CEDMA.Server/3.3
- Timestamp:
- 06/18/09 15:01:10 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.CEDMA.Server/3.3
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Server/3.3/GridExecuter.cs
r2057 r2058 53 53 } 54 54 55 public GridExecuter(IDispatcher dispatcher, IStore store, string gridUrl)55 public GridExecuter(IDispatcher dispatcher, IStore store, IGridServer server) 56 56 : base(dispatcher, store) { 57 this.jobManager = new JobManager( gridUrl);57 this.jobManager = new JobManager(server); 58 58 activeAlgorithms = new Dictionary<AsyncGridResult, IAlgorithm>(); 59 59 jobManager.Reset(); -
trunk/sources/HeuristicLab.CEDMA.Server/3.3/HeuristicLab.CEDMA.Server-3.3.csproj
r2057 r2058 92 92 <ItemGroup> 93 93 <Compile Include="ExecuterBase.cs" /> 94 <Compile Include="HiveExecuter.cs">95 <SubType>Code</SubType>96 </Compile>97 94 <Compile Include="IExecuter.cs" /> 98 95 <Compile Include="DispatcherBase.cs" /> … … 136 133 <Name>HeuristicLab.Data-3.2</Name> 137 134 </ProjectReference> 135 <ProjectReference Include="..\..\HeuristicLab.Grid.HiveBridge\3.2\HeuristicLab.Grid.HiveBridge-3.2.csproj"> 136 <Project>{DFAC1BEA-6D9D-477F-AC7B-E64977644DDB}</Project> 137 <Name>HeuristicLab.Grid.HiveBridge-3.2</Name> 138 </ProjectReference> 138 139 <ProjectReference Include="..\..\HeuristicLab.Grid\3.2\HeuristicLab.Grid-3.2.csproj"> 139 140 <Project>{545CE756-98D8-423B-AC2E-6E7D70926E5C}</Project> 140 141 <Name>HeuristicLab.Grid-3.2</Name> 141 </ProjectReference>142 <ProjectReference Include="..\..\HeuristicLab.Hive.Engine\3.2\HeuristicLab.Hive.Engine-3.2.csproj">143 <Project>{C8FEDAC1-0326-4293-B585-F0FEDDEDFC11}</Project>144 <Name>HeuristicLab.Hive.Engine-3.2</Name>145 142 </ProjectReference> 146 143 <ProjectReference Include="..\..\HeuristicLab.Modeling\3.2\HeuristicLab.Modeling-3.2.csproj"> -
trunk/sources/HeuristicLab.CEDMA.Server/3.3/HeuristicLabCedmaServerPlugin.cs
r2057 r2058 31 31 [Dependency(Dependency = "HeuristicLab.CEDMA.DB-3.3")] 32 32 [Dependency(Dependency = "HeuristicLab.Grid-3.2")] 33 [Dependency(Dependency = "HeuristicLab.Grid.HiveBridge-3.2")] 33 34 [Dependency(Dependency = "HeuristicLab.Core-3.2")] 34 35 [Dependency(Dependency = "HeuristicLab.Data-3.2")] -
trunk/sources/HeuristicLab.CEDMA.Server/3.3/Server.cs
r2050 r2058 30 30 using HeuristicLab.CEDMA.DB; 31 31 using System.ServiceModel.Description; 32 using HeuristicLab.Grid; 33 using HeuristicLab.Grid.HiveBridge; 32 34 33 35 namespace HeuristicLab.CEDMA.Server { … … 105 107 internal void Connect(string serverUrl) { 106 108 dispatcher = new SimpleDispatcher(store); 109 IGridServer gridServer = null; 107 110 if (serverUrl.Contains("ExecutionEngine")) { 108 executer = new HiveExecuter(dispatcher, store,serverUrl);111 gridServer = new HiveGridServerWrapper(serverUrl); 109 112 } else { 110 113 // default is grid backend 111 executer = new GridExecuter(dispatcher, store,serverUrl);114 gridServer = new GridServerProxy(serverUrl); 112 115 } 116 executer = new GridExecuter(dispatcher, store, gridServer); 113 117 executer.Start(); 114 118 }
Note: See TracChangeset
for help on using the changeset viewer.