Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 1038 was 953, checked in by whackl, 16 years ago

added client service (#397)

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.