Changeset 4368 for branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication
- Timestamp:
- 09/07/10 10:22:27 (14 years ago)
- Location:
- branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3
- Files:
-
- 19 added
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/GetJobCompletedEventArgs.cs
r4305 r4368 21 21 using System; 22 22 23 namespace HeuristicLab.Hive.Slave.Communication.Slave Service {23 namespace HeuristicLab.Hive.Slave.Communication.SlaveFacade { 24 24 public partial class GetJobCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { 25 25 -
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/HeuristicLab.Hive.Slave.Communication-3.3.csproj
r4343 r4368 76 76 </PropertyGroup> 77 77 <ItemGroup> 78 <Reference Include="HeuristicLab.Collections-3.3, Version=3.3.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL" /> 78 79 <Reference Include="HeuristicLab.Common-3.3"> 79 80 <HintPath>C:\Program Files\HeuristicLab 3.3\HeuristicLab.Common-3.3.dll</HintPath> … … 112 113 <Compile Include="Properties\AssemblyInfo.cs" /> 113 114 <Compile Include="GetJobCompletedEventArgs.cs" /> 114 <Compile Include="Service References\SlaveService\Reference.cs">115 <AutoGen>True</AutoGen>116 <DesignTime>True</DesignTime>117 <DependentUpon>Reference.svcmap</DependentUpon>118 </Compile>119 115 <Compile Include="Properties\Settings.Designer.cs"> 120 116 <AutoGen>True</AutoGen> … … 122 118 <DependentUpon>Settings.settings</DependentUpon> 123 119 </Compile> 124 <Compile Include="SlaveServiceCache.cs" /> 120 <Compile Include="Service References\SlaveFacade\Reference.cs"> 121 <AutoGen>True</AutoGen> 122 <DesignTime>True</DesignTime> 123 <DependentUpon>Reference.svcmap</DependentUpon> 124 </Compile> 125 <Compile Include="ServiceLocator.cs" /> 125 126 <Compile Include="WcfService.cs" /> 126 127 </ItemGroup> … … 130 131 <None Include="Properties\AssemblyInfo.frame" /> 131 132 <None Include="Properties\DataSources\HeuristicLab.Hive.Contracts.BusinessObjects.JobDto.datasource" /> 133 <None Include="Properties\DataSources\HeuristicLab.Hive.Contracts.BusinessObjects.JobResult.datasource" /> 134 <None Include="Properties\DataSources\HeuristicLab.Hive.Contracts.BusinessObjects.SerializedJob.datasource" /> 132 135 <None Include="Properties\DataSources\HeuristicLab.Hive.Contracts.ResponseObjects.Response.datasource" /> 133 136 <None Include="Properties\DataSources\HeuristicLab.Hive.Contracts.ResponseObjects.ResponseCalendar.datasource" /> … … 135 138 <None Include="Properties\DataSources\HeuristicLab.Hive.Contracts.ResponseObjects.ResponseResultReceived.datasource" /> 136 139 <None Include="Properties\DataSources\HeuristicLab.PluginInfrastructure.CachedHivePluginInfoDto.datasource" /> 137 <None Include="Service References\SlaveService\SlaveFacade.wsdl" />138 <None Include="Service References\SlaveService\SlaveService.wsdl" />139 <None Include="Service References\SlaveService\SlaveService.xsd">140 <SubType>Designer</SubType>141 </None>142 <None Include="Service References\SlaveService\SlaveService1.xsd">143 <SubType>Designer</SubType>144 </None>145 <None Include="Service References\SlaveService\SlaveService2.xsd">146 <SubType>Designer</SubType>147 </None>148 <None Include="Service References\SlaveService\SlaveService3.xsd">149 <SubType>Designer</SubType>150 </None>151 <None Include="Service References\SlaveService\SlaveService4.xsd">152 <SubType>Designer</SubType>153 </None>154 <None Include="Service References\SlaveService\SlaveService5.xsd">155 <SubType>Designer</SubType>156 </None>157 <None Include="Service References\SlaveService\SlaveService6.xsd">158 <SubType>Designer</SubType>159 </None>160 <None Include="Service References\SlaveService\SlaveService7.xsd">161 <SubType>Designer</SubType>162 </None>163 <None Include="Service References\SlaveService\SlaveService8.xsd">164 <SubType>Designer</SubType>165 </None>166 <None Include="Service References\SlaveService\SlaveService9.xsd">167 <SubType>Designer</SubType>168 </None>169 140 <None Include="Properties\Settings.settings"> 170 141 <Generator>SettingsSingleFileGenerator</Generator> 171 142 <LastGenOutput>Settings.Designer.cs</LastGenOutput> 172 143 </None> 144 <None Include="Service References\SlaveFacade\Arrays.xsd"> 145 <SubType>Designer</SubType> 146 </None> 147 <None Include="Service References\SlaveFacade\HeuristicLab.DataAccess.xsd"> 148 <SubType>Designer</SubType> 149 </None> 150 <None Include="Service References\SlaveFacade\HeuristicLab.Hive.Contracts.BusinessObjects.xsd"> 151 <SubType>Designer</SubType> 152 </None> 153 <None Include="Service References\SlaveFacade\HeuristicLab.Hive.Contracts.ResponseObjects.xsd"> 154 <SubType>Designer</SubType> 155 </None> 156 <None Include="Service References\SlaveFacade\HeuristicLab.Hive.Contracts.xsd"> 157 <SubType>Designer</SubType> 158 </None> 159 <None Include="Service References\SlaveFacade\HeuristicLab.PluginInfrastructure.xsd"> 160 <SubType>Designer</SubType> 161 </None> 162 <None Include="Service References\SlaveFacade\Message.xsd"> 163 <SubType>Designer</SubType> 164 </None> 165 <None Include="Service References\SlaveFacade\service.wsdl" /> 166 <None Include="Service References\SlaveFacade\service.xsd"> 167 <SubType>Designer</SubType> 168 </None> 169 <None Include="Service References\SlaveFacade\service1.xsd"> 170 <SubType>Designer</SubType> 171 </None> 172 <None Include="Service References\SlaveFacade\System.xsd"> 173 <SubType>Designer</SubType> 174 </None> 173 175 </ItemGroup> 174 176 <ItemGroup> … … 176 178 <Project>{134F93D7-E7C8-4ECD-9923-7F63259A60D8}</Project> 177 179 <Name>HeuristicLab.Hive.Contracts-3.3</Name> 180 </ProjectReference> 181 <ProjectReference Include="..\..\HeuristicLab.Hive.JobBase\3.3\HeuristicLab.Hive.JobBase-3.3.csproj"> 182 <Project>{21187322-52DD-4243-80A4-A85F0263E63B}</Project> 183 <Name>HeuristicLab.Hive.JobBase-3.3</Name> 178 184 </ProjectReference> 179 185 <ProjectReference Include="..\..\HeuristicLab.Hive.Slave.Common\3.3\HeuristicLab.Hive.Slave.Common-3.3.csproj"> … … 186 192 </ItemGroup> 187 193 <ItemGroup> 188 <WCFMetadataStorage Include="Service References\SlaveService\" /> 189 </ItemGroup> 190 <ItemGroup> 191 <None Include="Service References\SlaveService\SlaveService.disco" /> 192 </ItemGroup> 193 <ItemGroup> 194 <None Include="Service References\SlaveService\configuration91.svcinfo" /> 195 </ItemGroup> 196 <ItemGroup> 197 <None Include="Service References\SlaveService\configuration.svcinfo" /> 198 </ItemGroup> 199 <ItemGroup> 200 <None Include="Service References\SlaveService\Reference.svcmap"> 194 <WCFMetadataStorage Include="Service References\SlaveFacade\" /> 195 </ItemGroup> 196 <ItemGroup> 197 <None Include="Service References\SlaveFacade\configuration91.svcinfo" /> 198 </ItemGroup> 199 <ItemGroup> 200 <None Include="Service References\SlaveFacade\configuration.svcinfo" /> 201 </ItemGroup> 202 <ItemGroup> 203 <None Include="Service References\SlaveFacade\Reference.svcmap"> 201 204 <Generator>WCF Proxy Generator</Generator> 202 205 <LastGenOutput>Reference.cs</LastGenOutput> -
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/HeuristicLabHiveSlaveCommunicationPlugin.cs
r4253 r4368 36 36 [PluginDependency("HeuristicLab.Hive.Slave.Common", "3.3")] 37 37 [PluginDependency("HeuristicLab.Hive.Contracts", "3.3")] 38 [PluginDependency("HeuristicLab.Hive.JobBase", "3.3")] 38 39 [PluginDependency("HeuristicLab.Tracing", "3.3")] 39 40 public class HeuristicLabHiveSlaveCommunicationPlugin : PluginBase { -
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/WcfService.cs
r4343 r4368 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 using System.ServiceModel;27 using HeuristicLab.Hive.Contracts.Interfaces;28 using HeuristicLab.Hive.Slave.Common;29 using HeuristicLab.PluginInfrastructure;30 24 using System.IO; 31 25 using System.Runtime.Serialization.Formatters.Binary; 32 using HeuristicLab.Tracing;26 using System.ServiceModel; 33 27 using HeuristicLab.Hive.Contracts; 34 28 using HeuristicLab.Hive.Contracts.BusinessObjects; 35 using HeuristicLab.Hive.Slave.Communication.SlaveService;36 29 using HeuristicLab.Hive.Contracts.ResponseObjects; 37 using HeuristicLab.Hive.Slave.Communication.Properties; 30 using HeuristicLab.Hive.Slave.Common; 31 using HeuristicLab.Hive.Slave.Communication.SlaveFacade; 32 using HeuristicLab.PluginInfrastructure; 33 using HeuristicLab.Tracing; 38 34 39 35 namespace HeuristicLab.Hive.Slave.Communication { … … 78 74 public event EventHandler Connected; 79 75 80 SlaveServiceCache servicePool;81 82 76 /// <summary> 83 77 /// Constructor … … 92 86 /// </summary> 93 87 public void Connect() { 94 servicePool = new SlaveServiceCache(ServerIp); 95 using (DisposableSlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) { 88 ServiceLocator.Instance.HostAddress = ServerIp; 89 ServiceLocator.Instance.SlaveFacadePool.ExceptionOccured += new EventHandler<HeuristicLab.Common.EventArgs<Exception>>(ClientFacadePool_ExceptionOccured); 90 ServiceLocator.Instance.StreamedSlaveFacadePool.ExceptionOccured += new EventHandler<HeuristicLab.Common.EventArgs<Exception>>(ClientFacadePool_ExceptionOccured); 91 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 96 92 try { 97 93 Logger.Debug("Starting the Connection Process"); … … 114 110 } 115 111 } 112 } 113 114 void ClientFacadePool_ExceptionOccured(object sender, HeuristicLab.Common.EventArgs<Exception> e) { 115 Logger.Error("An exception occured in the WCF-Communication: " + e.Value.ToString()); 116 116 } 117 117 … … 138 138 /// </summary> 139 139 public void Login(SlaveDto slaveInfo) { 140 using (Disposable SlaveFacadeClient client = servicePool.GetSlaveFacade()) {140 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.SlaveFacadePool.GetService()) { 141 141 try { 142 142 if (ConnState == NetworkEnum.WcfConnState.Connected) { 143 143 Logger.Debug("STARTED: Login Sync"); 144 Response res = client.Login(slaveInfo);144 Response res = service.Obj.Login(slaveInfo); 145 145 if (res.StatusMessage != ResponseStatus.Ok) { 146 146 Logger.Error("FAILED: Login Failed! " + res.StatusMessage); … … 165 165 public void GetJobAsync(Guid guid) { 166 166 if (LoggedIn) { 167 Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade();167 Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService(); 168 168 Logger.Debug("STARTED: Fetching of Jobs from Server for Slave"); 169 client.BeginGetStreamedJob(guid, (ar => {169 service.Obj.BeginGetStreamedJob(guid, (ar => { 170 170 if (ar.IsCompleted) { 171 171 Stream stream = null; … … 173 173 try { 174 174 Logger.Debug("ENDED: Fetching of Jobs from Server for Slave"); 175 stream = client.EndGetStreamedJob(ar);175 stream = service.Obj.EndGetStreamedJob(ar); 176 176 177 177 //first deserialize the response … … 203 203 memStream.Dispose(); 204 204 205 service Pool.ReleaseSlaveClient(client);205 service.Dispose(); 206 206 } 207 207 } else … … 220 220 public void GetFinishedJobResultAsync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) { 221 221 if (LoggedIn) { 222 Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade();222 Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService(); 223 223 Logger.Debug("STARTED: Sending back the finished job results"); 224 224 Logger.Debug("Building stream"); … … 226 226 Logger.Debug("Builded stream"); 227 227 Logger.Debug("Making the call"); 228 229 client.BeginStoreFinishedJobResultStreamed(stream, (ar => {228 229 service.Obj.BeginStoreFinishedJobResultStreamed(stream, (ar => { 230 230 try { 231 231 Logger.Debug("Finished storing the job"); … … 234 234 235 235 if (ar.IsCompleted) { 236 var res = client.EndStoreFinishedJobResultStreamed(ar);236 var res = service.Obj.EndStoreFinishedJobResultStreamed(ar); 237 237 StoreFinishedJobResultCompletedEventArgs args = new StoreFinishedJobResultCompletedEventArgs(new object[] { res }, null, false, null); 238 238 Logger.Debug("calling the Finished Job Event"); … … 244 244 } 245 245 finally { 246 service Pool.ReleaseSlaveClient(client);246 service.Dispose(); 247 247 } 248 248 }), null); … … 256 256 public void ProcessSnapshotAsync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) { 257 257 if (LoggedIn) { 258 Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade();258 Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService(); 259 259 260 260 Stream stream = GetStreamedJobResult(clientId, jobId, result, percentage, exception); 261 client.BeginProcessSnapshotStreamed(stream, (ar => {261 service.Obj.BeginProcessSnapshotStreamed(stream, (ar => { 262 262 try { 263 263 if (stream != null) … … 265 265 266 266 if (ar.IsCompleted) { 267 var res = client.EndStoreFinishedJobResultStreamed(ar);267 var res = service.Obj.EndStoreFinishedJobResultStreamed(ar); 268 268 ProcessSnapshotCompletedEventArgs args = new ProcessSnapshotCompletedEventArgs(new object[] { res }, null, false, null); 269 269 ProcessSnapshotCompleted(this, args); … … 273 273 } 274 274 finally { 275 service Pool.ReleaseSlaveClient(client);275 service.Dispose(); 276 276 } 277 277 }), null); … … 289 289 public void ProcessHeartBeatSync(HeartBeatData hbd) { 290 290 if (LoggedIn) { 291 using (Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) {291 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 292 292 Logger.Debug("STARTING: sending heartbeat"); 293 var res = client.ProcessHeartBeat(hbd);293 var res = service.Obj.ProcessHeartBeat(hbd); 294 294 295 295 if (res.StatusMessage == ResponseStatus.Ok) { 296 296 ProcessHeartBeatCompleted(this, new ProcessHeartBeatCompletedEventArgs(new object[] { res }, null, false, null)); 297 297 Logger.Debug("ENDED: sending heartbeats"); 298 } else if (res.StatusMessage == ResponseStatus.ProcessHeartBeat_UserNotLoggedIn) { 299 LoggedIn = false; 298 300 } else { 299 301 Logger.Error("FAILED: sending heartbeats: " + res.StatusMessage.ToString()); … … 311 313 JobResult jobResult = new JobResult(); 312 314 jobResult.SlaveId = clientId; 313 jobResult. JobId = jobId;315 jobResult.Id = jobId; 314 316 jobResult.Percentage = percentage; 315 317 jobResult.Exception = exception != null ? exception.Message : ""; … … 328 330 329 331 public ResponseResultReceived StoreFinishedJobResultsSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception, bool finished) { 330 using (Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) {331 ResponseResultReceived res = client.StoreFinishedJobResultStreamed(GetStreamedJobResult(clientId, jobId, result, percentage, exception));332 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 333 ResponseResultReceived res = service.Obj.StoreFinishedJobResultStreamed(GetStreamedJobResult(clientId, jobId, result, percentage, exception)); 332 334 return res; 333 335 } … … 337 339 try { 338 340 Logger.Debug("STARTING: Sync call: IsJobStillNeeded"); 339 using (Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) {340 Response res = client.IsJobStillNeeded(jobId);341 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 342 Response res = service.Obj.IsJobStillNeeded(jobId); 341 343 Logger.Debug("ENDED: Sync call: IsJobStillNeeded"); 342 344 return res; … … 351 353 public ResponseResultReceived ProcessSnapshotSync(Guid clientId, Guid jobId, byte[] result, double percentage, Exception exception) { 352 354 try { 353 using (Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) {354 return client.ProcessSnapshotStreamed(GetStreamedJobResult(clientId, jobId, result, percentage, exception));355 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 356 return service.Obj.ProcessSnapshotStreamed(GetStreamedJobResult(clientId, jobId, result, percentage, exception)); 355 357 } 356 358 } … … 363 365 public IEnumerable<CachedHivePluginInfoDto> RequestPlugins(List<HivePluginInfoDto> requestedPlugins) { 364 366 try { 365 using (Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) {367 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 366 368 Logger.Debug("STARTED: Requesting Plugins for Job"); 367 369 Logger.Debug("STARTED: Getting the stream"); 368 Stream stream = client.GetStreamedPlugins(requestedPlugins.ToArray());370 Stream stream = service.Obj.GetStreamedPlugins(requestedPlugins.ToArray()); 369 371 Logger.Debug("ENDED: Getting the stream"); 370 372 BinaryFormatter formatter = new BinaryFormatter(); … … 386 388 try { 387 389 Logger.Debug("STARTED: Logout"); 388 using (Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) {389 client.Logout(guid);390 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 391 service.Obj.Logout(guid); 390 392 } 391 393 Logger.Debug("ENDED: Logout"); … … 399 401 try { 400 402 Logger.Debug("STARTED: Syncing Calendars"); 401 using (Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) {402 ResponseCalendar cal = client.GetCalendar(clientId);403 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 404 ResponseCalendar cal = service.Obj.GetCalendar(clientId); 403 405 Logger.Debug("ENDED: Syncing Calendars"); 404 406 return cal; … … 414 416 try { 415 417 Logger.Debug("STARTED: Setting Calendar status to: " + state); 416 using (Disposable SlaveFacadeClient client = servicePool.GetStreamedSlaveFacade()) {417 Response resp = client.SetCalendarStatus(clientId, state);418 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 419 Response resp = service.Obj.SetCalendarStatus(clientId, state); 418 420 Logger.Debug("ENDED: Setting Calendar status to: " + state); 419 421 return resp; … … 425 427 } 426 428 } 429 430 public ResponseObject<JobDto> AddChildJob(Guid parentJobId, SerializedJob serializedJob) { 431 try { 432 Logger.Debug("STARTED: Add Child Job for parent: " + parentJobId); 433 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 434 ResponseObject<JobDto> response = service.Obj.AddChildJob(parentJobId, serializedJob); 435 Logger.Debug("ENDED: Add Child Job for parent: " + parentJobId); 436 return response; 437 } 438 } 439 catch (Exception e) { 440 HandleNetworkError(e); 441 return null; 442 } 443 } 444 445 public ResponseObject<JobDto> PauseJob(SerializedJob serializedJob) { 446 try { 447 Logger.Debug("STARTED: Pausing job: " + serializedJob.JobInfo.Id); 448 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 449 ResponseObject<JobDto> response = service.Obj.PauseJob(serializedJob); 450 Logger.Debug("ENDED: Pausing job: " + serializedJob.JobInfo.Id); 451 return response; 452 } 453 } 454 catch (Exception e) { 455 HandleNetworkError(e); 456 return null; 457 } 458 } 459 460 public ResponseObject<SerializedJobList> GetChildJobs(Guid parentJob) { 461 try { 462 Logger.Debug("STARTED: GetChildJobs job: " + parentJob); 463 using (Disposable<SlaveFacade.ISlaveFacade> service = ServiceLocator.Instance.StreamedSlaveFacadePool.GetService()) { 464 SerializedJobList serializedJobs = new SerializedJobList(); 465 JobResult[] results = service.Obj.GetChildJobResults(new Guid?(parentJob), false, false); 466 foreach (JobResult result in results) { 467 serializedJobs.Add(service.Obj.GetLastSerializedResult(result.Id)); 468 } 469 470 Logger.Debug("ENDED: GetChildJobs job: " + parentJob); 471 return new ResponseObject<SerializedJobList>() { 472 Obj = serializedJobs 473 }; 474 } 475 } 476 catch (Exception e) { 477 HandleNetworkError(e); 478 return null; 479 } 480 } 427 481 } 428 482 } -
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Communication/3.3/app.config
r4342 r4368 28 28 receiveTimeout="00:10:00" sendTimeout="00:01:00" bypassProxyOnLocal="false" 29 29 transactionFlow="false" hostNameComparisonMode="StrongWildcard" 30 maxBufferPoolSize="524288" maxReceivedMessageSize=" 65536" messageEncoding="Text"30 maxBufferPoolSize="524288" maxReceivedMessageSize="104857600" messageEncoding="Text" 31 31 textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false"> 32 32 <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384" … … 45 45 <client> 46 46 <endpoint address="http://localhost:9000/SlaveService" binding="wsHttpBinding" behaviorConfiguration="SlaveServiceBehaviour" 47 bindingConfiguration="SlaveHttpEndpoint" contract="Slave Service.ISlaveFacade"47 bindingConfiguration="SlaveHttpEndpoint" contract="SlaveFacade.ISlaveFacade" 48 48 name="SlaveHttpEndpoint"> 49 49 <identity> … … 53 53 <endpoint address="net.tcp://localhost:9001/SlaveServiceStreamed" behaviorConfiguration="SlaveServiceBehaviour" 54 54 binding="netTcpBinding" bindingConfiguration="SlaveTcpStreamedEndpoint" 55 contract="Slave Service.ISlaveFacade" name="SlaveTcpStreamedEndpoint">55 contract="SlaveFacade.ISlaveFacade" name="SlaveTcpStreamedEndpoint"> 56 56 <identity> 57 57 <dns value="localhost" />
Note: See TracChangeset
for help on using the changeset viewer.