Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/12/10 10:57:21 (15 years ago)
Author:
kgrading
Message:

changed the complete DAL to LINQ 2 SQL (with the exception of the job streaming), did a lot of refactoring, Introduced DTOs (that are named DTOs for better understanding), added the spring.NET Interceptor, reintroduced transactions and cleaned up the whole JobResult thing and updated a part of the config merger (#830)

Location:
trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IClientCommunicator.cs

    r2117 r3011  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    3535  public interface IClientCommunicator {
    3636    [OperationContract]
    37     Response Login(ClientInfo clientInfo);
     37    Response Login(ClientDto clientInfo);
    3838    [OperationContract]
    3939    ResponseHB ProcessHeartBeat(HeartBeatData hbData);
    4040    [OperationContract]
    4141    ResponseJob SendJob(Guid clientId);
    42     [OperationContract]
    43     ResponseSerializedJob SendSerializedJob(Guid clientId);
     42    //[OperationContract]
     43    //ResponseSerializedJob SendSerializedJob(Guid clientId);
    4444    [OperationContract]
    4545    ResponseResultReceived StoreFinishedJobResult(Guid clientId,
     
    5959    Response IsJobStillNeeded(Guid jobId);
    6060    [OperationContract]
    61     ResponsePlugin SendPlugins(List<HivePluginInfo> pluginList);
     61    ResponsePlugin SendPlugins(List<HivePluginInfoDto> pluginList);
    6262  }
    6363}
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IClientFacade.cs

    r1939 r3011  
    3535
    3636    [OperationContract]
    37     Stream SendStreamedPlugins(List<HivePluginInfo> pluginList);
     37    Stream SendStreamedPlugins(List<HivePluginInfoDto> pluginList);
    3838
    3939    [OperationContract]
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IClientManager.cs

    r1825 r3011  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2008 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    3434  public interface IClientManager {
    3535    [OperationContract]
    36     ResponseList<ClientInfo> GetAllClients();
     36    ResponseList<ClientDto> GetAllClients();
    3737    [OperationContract]
    38     [ServiceKnownType(typeof (Resource))]
    39     [ServiceKnownType(typeof(ClientInfo))]
    40     [ServiceKnownType(typeof(ClientGroup))]
    41     ResponseList<ClientGroup> GetAllClientGroups();
     38    [ServiceKnownType(typeof (ResourceDto))]
     39    [ServiceKnownType(typeof(ClientDto))]
     40    [ServiceKnownType(typeof(ClientGroupDto))]
     41    ResponseList<ClientGroupDto> GetAllClientGroups();
    4242    [OperationContract]
    43     ResponseObject<List<ClientGroup>> GetAllGroupsOfResource(Guid resourceId);
     43    ResponseObject<List<ClientGroupDto>> GetAllGroupsOfResource(Guid resourceId);
    4444    [OperationContract]
    45     ResponseObject<ClientGroup> AddClientGroup(ClientGroup clientGroup);
     45    ResponseObject<ClientGroupDto> AddClientGroup(ClientGroupDto clientGroup);
    4646    [OperationContract]
    4747    Response DeleteClientGroup(Guid clientGroupId);
    4848    [OperationContract]
    49     [ServiceKnownType(typeof(Resource))]
    50     [ServiceKnownType(typeof(ClientInfo))]
    51     [ServiceKnownType(typeof(ClientGroup))]
    52     Response AddResourceToGroup(Guid clientGroupId, Resource resource);
     49    [ServiceKnownType(typeof(ResourceDto))]
     50    [ServiceKnownType(typeof(ClientDto))]
     51    [ServiceKnownType(typeof(ClientGroupDto))]
     52    Response AddResourceToGroup(Guid clientGroupId, ResourceDto resource);
    5353    [OperationContract]
    5454    Response DeleteResourceFromGroup(Guid clientGroupId, Guid resourceId);
    5555    [OperationContract]
    56     ResponseList<UpTimeStatistics> GetAllUpTimeStatistics();
     56    ResponseList<UpTimeStatisticsDto> GetAllUpTimeStatistics();
    5757  }
    5858}
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IExecutionEngineFacade.cs

    r2099 r3011  
    3131  public interface IExecutionEngineFacade {
    3232    [OperationContract]
    33     ResponseObject<Job> AddJob(SerializedJob job);
     33    ResponseObject<JobDto> AddJob(SerializedJob job);
    3434    [OperationContract]
    3535    Response RequestSnapshot(Guid jobId);
    3636    [OperationContract]
    37     ResponseObject<SerializedJobResult> GetLastSerializedResult(Guid jobId, bool requested);
     37    ResponseObject<SerializedJob> GetLastSerializedResult(Guid jobId, bool requested);
    3838    [OperationContract]
    3939    Response AbortJob(Guid jobId);
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IJobManager.cs

    r2099 r3011  
    3434  public interface IJobManager {
    3535    [OperationContract]
    36     ResponseList<Job> GetAllJobs();
     36    ResponseList<JobDto> GetAllJobs();
    3737    [OperationContract]
    38     ResponseObject<Job> GetJobById(Guid jobId);
     38    ResponseObject<JobDto> GetJobById(Guid jobId);
    3939    [OperationContract]
    40     ResponseObject<Job> AddNewJob(SerializedJob job);
     40    ResponseObject<JobDto> AddNewJob(SerializedJob job);
    4141    [OperationContract]
    4242    Response RemoveJob(Guid jobId);
    4343    [OperationContract]
    44     ResponseObject<JobResult> GetLastJobResultOf(Guid jobId);
     44    ResponseObject<JobDto> GetLastJobResultOf(Guid jobId);
    4545    [OperationContract]
    46     ResponseObject<SerializedJobResult> GetLastSerializedJobResultOf(Guid jobId, bool requested);
     46    ResponseObject<SerializedJob> GetLastSerializedJobResultOf(Guid jobId, bool requested);
    4747    [OperationContract]
    4848    ResponseList<JobResult> GetAllJobResults(Guid jobId);
     
    5252    Response AbortJob(Guid jobId);
    5353    [OperationContract]
    54     ResponseList<Project> GetAllProjects();
     54    ResponseList<ProjectDto> GetAllProjects();
    5555    [OperationContract]
    56     Response CreateProject(Project project);
     56    Response CreateProject(ProjectDto project);
    5757    [OperationContract]
    58     Response ChangeProject(Project project);
     58    Response ChangeProject(ProjectDto project);
    5959    [OperationContract]
    6060    Response DeleteProject(Guid projectId);
    6161    [OperationContract]
    62     ResponseList<Job> GetJobsByProject(Guid projectId);
     62    ResponseList<JobDto> GetJobsByProject(Guid projectId);
    6363  }
    6464}
Note: See TracChangeset for help on using the changeset viewer.