Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Slave.Core/3.3/SlaveConsoleService/SlaveConsoleServer.cs @ 4320

Last change on this file since 4320 was 4320, checked in by cneumuel, 14 years ago

made slave-console service configurable via xml

File size: 639 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using System.ServiceModel.Description;
6using System.ServiceModel;
7using HeuristicLab.PluginInfrastructure;
8using HeuristicLab.Hive.Slave.Core.SlaveConsoleService.Interfaces;
9using HeuristicLab.Hive.Contracts;
10
11namespace HeuristicLab.Hive.Slave.Core.SlaveConsoleService {
12  public class SlaveConsoleServer {
13    public ServiceHost StartClientConsoleServer() {
14      ServiceHost host = new ServiceHost(ApplicationManager.Manager.GetTypes(typeof(ISlaveConsoleCommunicator)).First());
15      host.Open();
16      return host;
17    }
18  }
19}
Note: See TracBrowser for help on using the repository browser.