Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/27/10 11:46:46 (14 years ago)
Author:
cneumuel
Message:

changed Slave.Core WCF-Proxy to stateless object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Experiment/3.3/ServiceLocator.cs

    r4316 r4337  
    5454
    5555    public static void DisposeClientFacade(IClientFacade clientFacade) {
    56       ICommunicationObject obj = (ICommunicationObject)clientFacade;
    57       if (obj != null) {
    58         if (obj.State != CommunicationState.Faulted &&
    59             obj.State != CommunicationState.Closed) {
    60           try { obj.Close(); }
    61           catch (CommunicationObjectFaultedException) { obj.Abort(); }
    62           catch (TimeoutException) { obj.Abort(); }
    63           catch (Exception) {
    64             obj.Abort();
    65             throw;
    66           }
    67         } else
    68           obj.Abort();
    69       }
     56      WcfSettings.DisposeWcfClient((ICommunicationObject)clientFacade);     
    7057    }
    7158  }
Note: See TracChangeset for help on using the changeset viewer.