Changeset 4254 for branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces
- Timestamp:
- 08/18/10 17:23:09 (14 years ago)
- Location:
- branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/IJobManager.cs
r4170 r4254 33 33 [ServiceContract] 34 34 public interface IJobManager { 35 35 36 [OperationContract] 36 37 ResponseList<JobDto> GetAllJobsWithFilter(State jobState, int offset, int count); 38 37 39 [OperationContract] 38 40 ResponseList<JobDto> GetAllJobs(); 41 39 42 [OperationContract] 40 43 ResponseObject<JobDto> GetJobById(Guid jobId); 44 41 45 [OperationContract] 42 46 ResponseObject<JobDto> GetJobByIdWithDetails(Guid jobId); 47 43 48 [OperationContract] 44 49 ResponseObject<JobDto> AddNewJob(SerializedJob job); 50 45 51 [OperationContract] 46 52 Response RemoveJob(Guid jobId); 53 47 54 [OperationContract] 48 55 ResponseObject<JobDto> GetLastJobResultOf(Guid jobId); 56 49 57 [OperationContract] 50 58 ResponseObject<SerializedJob> GetLastSerializedJobResultOf(Guid jobId, bool requested, bool snapshot); 59 51 60 [OperationContract] 52 61 ResponseObject<JobResultList> GetAllJobResults(IEnumerable<Guid> jobIds); 62 53 63 [OperationContract] 54 64 Response RequestSnapshot(Guid jobId); 65 55 66 [OperationContract] 56 67 Response AbortJob(Guid jobId); 68 57 69 [OperationContract] 58 70 ResponseList<ProjectDto> GetAllProjects(); 71 59 72 [OperationContract] 60 73 Response CreateProject(ProjectDto project); 74 61 75 [OperationContract] 62 76 Response ChangeProject(ProjectDto project); 77 63 78 [OperationContract] 64 79 Response DeleteProject(Guid projectId); 80 65 81 [OperationContract] 66 82 ResponseList<JobDto> GetJobsByProject(Guid projectId); 83 67 84 [OperationContract] 68 85 ResponseObject<JobDto> AddJobWithGroupStrings(SerializedJob job, IEnumerable<string> resources); -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/ISlaveCommunicator.cs
r4253 r4254 34 34 [ServiceContract] 35 35 public interface ISlaveCommunicator { 36 36 37 [OperationContract] 37 38 Response Login(ClientDto clientInfo); 39 38 40 [OperationContract] 39 ResponseHB ProcessHeartBeat(HeartBeatData hbData); 41 ResponseHeartBeat ProcessHeartBeat(HeartBeatData hbData); 42 40 43 [OperationContract] 41 ResponseJob SendJob(Guid clientId); 42 //[OperationContract] 43 //ResponseSerializedJob SendSerializedJob(Guid clientId); 44 ResponseObject<JobDto> GetJob(Guid clientId); 45 44 46 [OperationContract] 45 ResponseResultReceived StoreFinishedJobResult(Guid clientId, 46 Guid jobId, 47 byte[] result, 48 double percentage, 49 string exception); 47 ResponseResultReceived StoreFinishedJobResult(Guid clientId, Guid jobId, byte[] result, double percentage, string exception); 48 50 49 [OperationContract] 51 ResponseResultReceived ProcessSnapshot(Guid clientId, 52 Guid jobId, 53 byte[] result, 54 double percentage, 55 string exception); 50 ResponseResultReceived ProcessSnapshot(Guid clientId, Guid jobId, byte[] result, double percentage, string exception); 51 56 52 [OperationContract] 57 53 Response Logout(Guid clientId); 54 58 55 [OperationContract] 59 56 Response IsJobStillNeeded(Guid jobId); 57 60 58 [OperationContract] 61 Response PluginSendPlugins(List<HivePluginInfoDto> pluginList);59 ResponseList<CachedHivePluginInfoDto> SendPlugins(List<HivePluginInfoDto> pluginList); 62 60 63 61 [OperationContract] 64 62 ResponseCalendar GetCalendar(Guid clientId); 63 65 64 [OperationContract] 66 65 Response SetCalendarStatus(Guid clientId, CalendarState state); -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/ISlaveManager.cs
r4253 r4254 33 33 [ServiceContract] 34 34 public interface ISlaveManager { 35 35 36 [OperationContract] 36 37 ResponseList<ClientDto> GetAllClients(); 38 37 39 [OperationContract] 38 40 [ServiceKnownType(typeof (ResourceDto))] … … 40 42 [ServiceKnownType(typeof(ClientGroupDto))] 41 43 ResponseList<ClientGroupDto> GetAllClientGroups(); 44 42 45 [OperationContract] 43 46 ResponseObject<ClientGroupDtoList> GetAllGroupsOfResource(Guid resourceId); 47 44 48 [OperationContract] 45 49 ResponseObject<ClientGroupDto> AddClientGroup(ClientGroupDto clientGroup); 50 46 51 [OperationContract] 47 52 Response DeleteClientGroup(Guid clientGroupId); 53 48 54 [OperationContract] 49 55 [ServiceKnownType(typeof(ResourceDto))] … … 51 57 [ServiceKnownType(typeof(ClientGroupDto))] 52 58 Response AddResourceToGroup(Guid clientGroupId, ResourceDto resource); 59 53 60 [OperationContract] 54 61 Response DeleteResourceFromGroup(Guid clientGroupId, Guid resourceId); 62 55 63 [OperationContract] 56 64 ResponseList<UpTimeStatisticsDto> GetAllUpTimeStatistics(); 65 57 66 [OperationContract] 58 67 ResponseList<AppointmentDto> GetUptimeCalendarForResource(Guid guid); 68 59 69 [OperationContract] 60 70 Response SetUptimeCalendarForResource(Guid guid, IEnumerable<AppointmentDto> appointments, bool isForced);
Note: See TracChangeset
for help on using the changeset viewer.