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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 | using System.ServiceModel.Description;
|
---|
6 | using System.ServiceModel;
|
---|
7 | using HeuristicLab.PluginInfrastructure;
|
---|
8 | using HeuristicLab.Hive.Slave.Core.SlaveConsoleService.Interfaces;
|
---|
9 | using HeuristicLab.Hive.Contracts;
|
---|
10 |
|
---|
11 | namespace 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.