Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/04/09 17:34:42 (15 years ago)
Author:
kgrading
Message:

added webservices (#669)

Location:
trunk/sources/HeuristicLab.Hive.Client.Core/3.2/ClientConsoleService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/3.2/ClientConsoleService/ClientConsoleCommunicator.cs

    r1379 r2009  
    88using HeuristicLab.Hive.Client.Common;
    99using HeuristicLab.Hive.Contracts;
     10using Calendar;
    1011
    1112namespace HeuristicLab.Hive.Client.Core.ClientConsoleService {
     
    3233    public void ShutdownClient() {
    3334      MessageQueue.GetInstance().AddMessage(MessageContainer.MessageType.Shutdown);
     35    }   
     36
     37    public void SetUptimeCalendar(List<Appointment> appointments) {
     38      UptimeManager.Instance.Appointments = appointments;
     39    }
     40
     41    public List<Appointment> GetUptimeCalendar() {
     42      return UptimeManager.Instance.Appointments;
    3443    }
    3544
  • trunk/sources/HeuristicLab.Hive.Client.Core/3.2/ClientConsoleService/Interfaces/IClientConsoleCommunicator.cs

    r1132 r2009  
    2525using System.Text;
    2626using System.ServiceModel;
     27using Calendar;
    2728
    2829namespace HeuristicLab.Hive.Client.Core.ClientConsoleService.Interfaces {
     
    6061    [OperationContract]
    6162    void ShutdownClient();
     63
     64    [OperationContract]
     65    void SetUptimeCalendar(List<Appointment> appointments);
     66
     67    [OperationContract]
     68    List<Appointment> GetUptimeCalendar();
     69
    6270  }
    6371}
Note: See TracChangeset for help on using the changeset viewer.