Last change
on this file since 5511 was
5405,
checked in by cneumuel, 14 years ago
|
#1233
- moved heartbeat timestamps of slaves and jobs into database to make server stateless
- made slave use the right authentication ("hiveslave" instead of HL username/password)
- moved heartbeat related methods into HeartbeatManager
- changed signature of Service.Hello method, so all hardware related information is transferred in that method withing the Slave-object
|
File size:
576 bytes
|
Rev | Line | |
---|
[5404] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Text;
|
---|
| 5 | using HeuristicLab.Clients.Common;
|
---|
| 6 | using HeuristicLab.Services.Hive.Common.ServiceContracts;
|
---|
| 7 | using HeuristicLab.Services.Hive;
|
---|
| 8 |
|
---|
| 9 | namespace HeuristicLab.Clients.Hive.Tests {
|
---|
| 10 | public class MockServiceLocator : IServiceLocator {
|
---|
| 11 | public Disposable<IHiveService> GetService() {
|
---|
| 12 | return new Disposable<IHiveService>(new HiveService());
|
---|
| 13 | }
|
---|
[5405] | 14 |
|
---|
| 15 | public Disposable<IHiveService> GetService(string username, string password) {
|
---|
| 16 | return GetService();
|
---|
| 17 | }
|
---|
[5404] | 18 | }
|
---|
| 19 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.