Changeset 780 for trunk/sources
- Timestamp:
- 11/19/08 16:08:49 (16 years ago)
- Location:
- trunk/sources
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Contracts/BusinessObjects/Job.cs
r751 r780 31 31 public class Job { 32 32 [DataMember] 33 public long JobId { get; set; } 34 [DataMember] 33 35 public State State { get; set; } 34 36 [DataMember] -
trunk/sources/HeuristicLab.Hive.Contracts/HeuristicLab.Hive.Contracts.csproj
r751 r780 56 56 <Compile Include="BusinessObjects\GrantedPermissions.cs" /> 57 57 <Compile Include="BusinessObjects\ClientGroup.cs" /> 58 <Compile Include="BusinessObjects\HeartBeatData.cs" /> 58 59 <Compile Include="BusinessObjects\Job.cs" /> 59 60 <Compile Include="BusinessObjects\JobResult.cs" /> … … 66 67 <Compile Include="BusinessObjects\User.cs" /> 67 68 <Compile Include="BusinessObjects\UserGroup.cs" /> 69 <Compile Include="ResponseJob.cs" /> 68 70 <Compile Include="HiveContractPlugin.cs" /> 69 71 <Compile Include="Interfaces\IClientCommunicator.cs" /> 70 72 <Compile Include="Properties\AssemblyInfo.cs" /> 71 73 <Compile Include="Response.cs" /> 74 <Compile Include="ResponseHB.cs" /> 72 75 </ItemGroup> 73 76 <ItemGroup> -
trunk/sources/HeuristicLab.Hive.Contracts/Interfaces/IClientCommunicator.cs
r751 r780 27 27 using HeuristicLab.Hive.Contracts.BusinessObjects; 28 28 29 namespace HeuristicLab.Hive. Server.Interfaces {29 namespace HeuristicLab.Hive.Contracts.Interfaces { 30 30 /// <summary> 31 31 /// This is the facade for the client communication … … 35 35 [OperationContract] 36 36 Response Login(Client clientInfo); 37 [OperationContract] 38 ResponseHB SendHeartBeat(HeartBeatData hbData); 39 [OperationContract] 40 ResponseJob PullJob(Guid clientId); 41 [OperationContract] 42 Response SendJobResult(JobResult Result, bool finished); 43 [OperationContract] 44 Response Logout(Guid clientId); 37 45 } 38 46 } -
trunk/sources/HeuristicLab.Hive.Contracts/Response.cs
r744 r780 24 24 using System.Linq; 25 25 using System.Text; 26 using System.Runtime.Serialization; 26 27 27 namespace HeuristicLab.Hive. Server{28 namespace HeuristicLab.Hive.Contracts { 28 29 /// <summary> 29 30 /// Server response class 30 31 /// </summary> 32 [DataContract] 31 33 public class Response { 34 [DataMember] 32 35 public bool Success { get; set; } 33 36 [DataMember] 34 37 public string StatusMessage { get; set; } 35 38 } -
trunk/sources/HeuristicLab.Hive.Server.Core/ClientCommunicator.cs
r751 r780 4 4 using System.Text; 5 5 using HeuristicLab.Hive.Contracts.BusinessObjects; 6 using HeuristicLab.Hive.Server.Interfaces; 6 using HeuristicLab.Hive.Contracts.Interfaces; 7 using HeuristicLab.Hive.Contracts; 7 8 8 9 namespace HeuristicLab.Hive.Server.Core { 9 class ClientCommunicator: IClientCommunicator { 10 /// <summary> 11 /// The ClientCommunicator manages the whole communication with the client 12 /// </summary> 13 public class ClientCommunicator: IClientCommunicator { 10 14 #region IClientCommunicator Members 11 15 … … 18 22 } 19 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 20 40 #endregion 21 41 } -
trunk/sources/HeuristicLab.Hive.Server/HiveServerApplication.cs
r753 r780 29 29 using System.Net; 30 30 using HeuristicLab.Hive.Contracts; 31 using HeuristicLab.Hive. Server.Interfaces;31 using HeuristicLab.Hive.Contracts.Interfaces; 32 32 33 33 namespace HeuristicLab.Hive.Server {
Note: See TracChangeset
for help on using the changeset viewer.