- Timestamp:
- 08/18/10 17:23:09 (14 years ago)
- Location:
- branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3
- Files:
-
- 1 added
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/HeuristicLab.Hive.Contracts-3.3.csproj
r4253 r4254 135 135 <Compile Include="RecurrentEvent.cs" /> 136 136 <Compile Include="ResponseCalendar.cs" /> 137 <Compile Include="ResponseSerializedJob.cs" />138 137 <Compile Include="MultiStream.cs" /> 139 138 <Compile Include="Interfaces\ISlaveFacade.cs" /> … … 145 144 <Compile Include="Interfaces\IServerConsoleFacade.cs" /> 146 145 <Compile Include="MessageContainer.cs" /> 147 <Compile Include="ResponseJob.cs" />148 146 <Compile Include="HeuristicLabHiveContractsPlugin.cs" /> 149 147 <Compile Include="Interfaces\ISlaveCommunicator.cs" /> 150 148 <Compile Include="Properties\AssemblyInfo.cs" /> 151 149 <Compile Include="Response.cs" /> 152 <Compile Include="ResponseH B.cs" />150 <Compile Include="ResponseHeartBeat.cs" /> 153 151 <Compile Include="ResponseList.cs" /> 154 <Compile Include="ResponsePlugin.cs" />155 152 <Compile Include="ResponseResultReceived.cs" /> 156 153 <Compile Include="StreamedObject.cs" /> -
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); -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/MessageContainer.cs
r4133 r4254 58 58 MessageContainer clone = (MessageContainer)Activator.CreateInstance(this.GetType(), true); 59 59 cloner.RegisterClonedObject(this, clone); 60 //clone.StatusMessage = this.StatusMessage;61 //clone.Success = this.Success;60 clone.Message = this.Message; 61 clone.JobId = this.JobId; 62 62 return clone; 63 63 } -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/ResponseObject.cs
r4133 r4254 31 31 [StorableClass] 32 32 [DataContract] 33 [Serializable] 33 34 public class ResponseObject<T> : Response 34 35 where T : IDeepCloneable { -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/ResponsePlugin.cs
r4133 r4254 11 11 [DataContract] 12 12 [Serializable] 13 public class ResponsePlugin : Response {13 public class ResponsePlugin : ResponseBase { 14 14 [Storable] 15 15 [DataMember] -
branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/ResponseSerializedJob.cs
r4133 r4254 37 37 [DataContract] 38 38 [Serializable] 39 public class ResponseSerializedJob : Response {39 public class ResponseSerializedJob : ResponseBase { 40 40 [Storable] 41 41 [DataMember]
Note: See TracChangeset
for help on using the changeset viewer.