Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.DataAccess/3.3/IUptimeCalendarDao.cs @ 4267

Last change on this file since 4267 was 4267, checked in by cneumuel, 14 years ago

renamed all database entities from "Client" to "Slave" (#1157)
made slave-heartbeats synchronous, also they send HBs when timetable disallows them to calculate. they will appear on the server as Idle bis IsAllowedToCalculate will be false (#1159)

File size: 570 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using HeuristicLab.Hive.Contracts.BusinessObjects;
5
6namespace HeuristicLab.Hive.Server.DataAccess {
7  public interface IUptimeCalendarDao: IGenericDao<AppointmentDto> {
8    IEnumerable<AppointmentDto> GetUptimeCalendarForResource(Guid resourceId);
9    void SetUptimeCalendarForResource(Guid resourceId, IEnumerable<AppointmentDto> appointments);
10    void NotifySlavesOfNewCalendar(Guid groupId, bool forcePush);
11    IEnumerable<AppointmentDto> GetCalendarForSlave(SlaveDto slave);
12  }
13}
Note: See TracBrowser for help on using the repository browser.