Last change
on this file since 4501 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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.ServiceModel;
|
---|
6 | //using HeuristicLab.Hive.Client.ClientConsole;
|
---|
7 |
|
---|
8 | namespace 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.