- Timestamp:
- 05/28/09 18:38:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Server/3.2/HiveServerApplication.cs
r1579 r1939 43 43 private Dictionary<string, ServiceHost> runningServices = new Dictionary<string, ServiceHost>(); 44 44 private NetTcpBinding binding = (NetTcpBinding)WcfSettings.GetBinding(); 45 private NetTcpBinding streamedBinding = (NetTcpBinding)WcfSettings.GetStreamedBinding(); 45 46 46 47 private enum Services { … … 76 77 uriTcp = new Uri("net.tcp://" + ipAddress + ":" + port + "/HiveServer/"); 77 78 serviceHost = new ServiceHost(clientCommunicatorInstances[0].GetType(), uriTcp); 78 serviceHost.AddServiceEndpoint(typeof(IClient Communicator), binding, STR_ClientCommunicator);79 serviceHost.AddServiceEndpoint(typeof(IClientFacade), streamedBinding, STR_ClientCommunicator); 79 80 curServiceHost = STR_ClientCommunicator; 80 81 } … … 92 93 uriTcp = new Uri("net.tcp://" + ipAddress + ":" + port + "/ExecutionEngine/"); 93 94 serviceHost = new ServiceHost(executionEngineInstances[0].GetType(), uriTcp); 94 serviceHost.AddServiceEndpoint(typeof(IExecutionEngineFacade), binding, STR_ExecutionEngineFacade);95 serviceHost.AddServiceEndpoint(typeof(IExecutionEngineFacade), streamedBinding, STR_ExecutionEngineFacade); 95 96 curServiceHost = STR_ExecutionEngineFacade; 96 97 }
Note: See TracChangeset
for help on using the changeset viewer.