Changeset 5707 for branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3
- Timestamp:
- 03/16/11 13:31:37 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.3/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Console/3.3/LogServiceReader.cs
r5588 r5707 4 4 using System.Windows.Forms; 5 5 using HeuristicLab.Clients.Common; 6 using HeuristicLab.Hive.Contracts; 6 7 using HeuristicLab.Hive.Slave.Console.SlaveConsoleService; 8 using System.ServiceModel; 7 9 8 10 namespace HeuristicLab.Hive.Slave.Console { … … 24 26 private void timer_Tick(object sender, EventArgs e) { 25 27 try { 26 using (var factory = ClientFactory.CreateChannelFactory<ISlaveConsoleCommunicator>("SlaveConsoleTcpEndpointClient")) {28 using (var factory = new DisposableWrapper<ChannelFactory<ISlaveConsoleCommunicator>>(ClientFactory.CreateChannelFactory<ISlaveConsoleCommunicator>("SlaveConsoleTcpEndpointClient"))) { 27 29 var slaveClient = factory.Obj.CreateChannel(); 28 30 try {
Note: See TracChangeset
for help on using the changeset viewer.