Changeset 4302 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/WcfService.cs
- Timestamp:
- 08/24/10 15:31:35 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/WcfService.cs
r4289 r4302 90 90 91 91 Logger.Debug("Creating the new connection proxy"); 92 proxy = new SlaveFacadeClient( 93 HeuristicLab.Hive.Contracts.WcfSettings.GetStreamedBinding(), 94 new EndpointAddress("net.tcp://" + ServerIP + ":" + ServerPort + "/HiveServer/SlaveCommunicator") 95 ); 92 proxy = CreateSlaveFacadeClient(); 96 93 Logger.Debug("Created the new connection proxy"); 97 94 … … 122 119 HandleNetworkError(ex); 123 120 } 121 } 122 123 private SlaveFacadeClient CreateSlaveFacadeClient() { 124 //return new SlaveFacadeClient( 125 // HeuristicLab.Hive.Contracts.WcfSettings.GetStreamedBinding(), 126 // new EndpointAddress("net.tcp://" + ServerIP + ":" + ServerPort + "/HiveServer/SlaveCommunicator") 127 //); 128 SlaveFacadeClient client = new SlaveFacadeClient("SlaveHttpEndpoint"); 129 WcfSettings.SetEndpointAddress(client.Endpoint, string.Format("http://{0}:{1}/{2}", ServerIP, ServerPort, WcfSettings.SlaveServiceName)); 130 return client; 124 131 } 125 132
Note: See TracChangeset
for help on using the changeset viewer.