Last change
on this file since 4333 was
4333,
checked in by cneumuel, 14 years ago
|
added authorizationManager which checks for permission to specific jobs (#1168)
|
File size:
670 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 | ServiceHost host = null;
|
---|
14 |
|
---|
15 | public void Start() {
|
---|
16 | host = new ServiceHost(ApplicationManager.Manager.GetTypes(typeof(ISlaveConsoleCommunicator)).First());
|
---|
17 | host.Open();
|
---|
18 | }
|
---|
19 |
|
---|
20 | public void Close() {
|
---|
21 | host.Close();
|
---|
22 | }
|
---|
23 | }
|
---|
24 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.