Last change
on this file since 1564 was
840,
checked in by kgrading, 16 years ago
|
implemented changes from (#398) and changed the server IP
|
File size:
601 bytes
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.ServiceModel;
|
---|
6 |
|
---|
7 | namespace HeuristicLab.Hive.Client.Communication {
|
---|
8 | public class ServiceLocator {
|
---|
9 | private static ClientCommunicatorClient proxy = null;
|
---|
10 |
|
---|
11 | public static ClientCommunicatorClient GetClientCommunicator() {
|
---|
12 | if (proxy == null) {
|
---|
13 | proxy = new ClientCommunicatorClient(
|
---|
14 | new NetTcpBinding(),
|
---|
15 | new EndpointAddress("net.tcp://10.20.53.3:9000/HiveServer/ClientCommunicator")
|
---|
16 | );
|
---|
17 | }
|
---|
18 |
|
---|
19 | return proxy;
|
---|
20 | }
|
---|
21 | }
|
---|
22 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.