Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs @ 780

Last change on this file since 780 was 780, checked in by msteinbi, 16 years ago

New methods defined in IClientCommunicator (new response classes and HeartBeatData class) (#351)

File size: 1.1 KB
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5using HeuristicLab.Hive.Contracts.BusinessObjects;
6using HeuristicLab.Hive.Contracts.Interfaces;
7using HeuristicLab.Hive.Contracts;
8
9namespace HeuristicLab.Hive.Server.Core {
10  /// <summary>
11  /// The ClientCommunicator manages the whole communication with the client
12  /// </summary>
13  public class ClientCommunicator: IClientCommunicator {
14    #region IClientCommunicator Members
15
16    public Response Login(Client clientInfo) {
17      Response response = new Response();
18      response.Success = true;
19      response.StatusMessage = "Logged in...";
20
21      return response;
22    }
23
24    public ResponseHB SendHeartBeat(HeartBeatData hbData) {
25      throw new NotImplementedException();
26    }
27
28    public ResponseJob PullJob(Guid clientId) {
29      throw new NotImplementedException();
30    }
31
32    public Response SendJobResult(JobResult Result, bool finished) {
33      throw new NotImplementedException();
34    }
35
36    public Response Logout(Guid clientId) {
37      throw new NotImplementedException();
38    }
39
40    #endregion
41  }
42}
Note: See TracBrowser for help on using the repository browser.