Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Hive.Client.Console/3.2/ServiceLocator.cs @ 2527

Last change on this file since 2527 was 1530, checked in by gkronber, 16 years ago

Moved source files of plugins Hive ... Visualization.Test into version-specific sub-folders. #576

File size: 680 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.ServiceModel;
6//using HeuristicLab.Hive.Client.ClientConsole;
7
8namespace HeuristicLab.Hive.Client.Console {
9  public class ServiceLocator {
10    private static ClientConsoleCommunicatorClient proxy = null;
11
12    public static ClientConsoleCommunicatorClient ClientConsoleCommunicatorClient() {
13      if (proxy == null) {
14        proxy = new ClientConsoleCommunicatorClient(
15          new NetTcpBinding(),
16          new EndpointAddress("net.tcp://127.0.0.1:8000/ClientConsole/ClientConsoleCommunicator")
17          );
18      }
19
20      return proxy;
21    }
22  }
23}
Note: See TracBrowser for help on using the repository browser.