Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/23/10 10:50:26 (14 years ago)
Author:
kgrading
Message:

implemented the server on the client, using push & force push, added refresh buttons, added auto calender methods that traverse the tree... (#908)

Location:
trunk/sources/HeuristicLab.Hive.Contracts/3.2
Files:
1 added
6 edited

Legend:

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

    r2005 r3203  
    8282    public static string RESPONSE_COMMUNICATOR_JOB_WAS_ABORTED = "Job was aborted";
    8383
     84    public static string RESPONSE_COMMUNICATOR_FETCH_OR_FORCEFETCH_CALENDAR =
     85      "new Calendar must be fetched / force fetched";
     86
    8487    public static string RESPONSE_JOB_ALL_JOBS = "Job.AllJobs";
    8588    public static string RESPONSE_JOB_GET_JOB_BY_ID = "Job.GetJobById";
     
    101104    public static string RESPONSE_JOB_PROJECT_DOESNT_EXIST = "The specified project doesn't exist";
    102105    public static string RESPONSE_JOB_PROJECT_DELETED = "The project was sucessfully deleted";
     106
     107    public static string RESPONSE_UPTIMECALENDAR_NO_CALENDAR_FOUND = "No Calendar could be found anywhere in the tree";
     108    public static string RESPONSE_UPTIMECALENDAR_STATUS_UPDATED = "Calendar status has been updated";
    103109  }
    104110}
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/BusinessObjects/ClientDto.cs

    r3011 r3203  
    2929
    3030  public enum State { nullState, idle, calculating, offline, finished, abort, requestSnapshot, requestSnapshotSent, pending };
     31  public enum CalendarState { Fetch, ForceFetch, Fetching, Fetched, NotAllowedToFetch };
    3132
    3233  [DataContract]
     
    4849    public State State { get; set; }
    4950    [DataMember]
     51    public CalendarState CalendarSyncStatus { get; set; }
     52    [DataMember]
    5053    public ClientConfigDto Config { get; set; }
    5154
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/HeuristicLab.Hive.Contracts-3.2.csproj

    r3022 r3203  
    102102    <Compile Include="BusinessObjects\ClientConfigDto.cs" />
    103103    <Compile Include="RecurrentEvent.cs" />
     104    <Compile Include="ResponseCalendar.cs" />
    104105    <Compile Include="ResponseSerializedJob.cs" />
    105106    <Compile Include="MultiStream.cs" />
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IClientCommunicator.cs

    r3011 r3203  
    6060    [OperationContract]
    6161    ResponsePlugin SendPlugins(List<HivePluginInfoDto> pluginList);
     62
     63    [OperationContract]
     64    ResponseCalendar GetCalendar(Guid clientId);
     65    [OperationContract]
     66    Response SetCalendarStatus(Guid clientId, CalendarState state);
     67
    6268  }
    6369}
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/Interfaces/IClientManager.cs

    r3022 r3203  
    5757    [OperationContract]
    5858    ResponseList<AppointmentDto> GetUptimeCalendarForResource(Guid guid);
    59 
    6059    [OperationContract]
    61     Response SetUptimeCalendarForResource(Guid guid, IEnumerable<AppointmentDto> appointments);
     60    Response SetUptimeCalendarForResource(Guid guid, IEnumerable<AppointmentDto> appointments, bool isForced);
    6261  }
    6362}
  • trunk/sources/HeuristicLab.Hive.Contracts/3.2/MessageContainer.cs

    r2025 r3203  
    3333  public class MessageContainer {
    3434
    35     public enum MessageType { FetchJob, AbortJob, JobAborted, RequestSnapshot, FinishedJob, NoMessage, SnapshotReady, Shutdown, JobFailed, UptimeLimitDisconnect };
     35    public enum MessageType { FetchJob, AbortJob, JobAborted, RequestSnapshot, FinishedJob, NoMessage, SnapshotReady, Shutdown, JobFailed, UptimeLimitDisconnect,
     36      FetchOrForceFetchCalendar
     37    };
    3638
    3739    public MessageType Message { get; set; }
Note: See TracChangeset for help on using the changeset viewer.