Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3.3-HiveMigration/sources/HeuristicLab.Hive/HeuristicLab.Hive.Server.DataAccess/3.3/ISlaveGroupDao.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: 657 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 ISlaveGroupDao: IGenericDao<SlaveGroupDto> {
8    void AddRessourceToSlaveGroup(Guid ressource, Guid SlaveGroupId);
9    void RemoveRessourceFromSlaveGroup(Guid ressource, Guid slaveGroupId);
10
11    IEnumerable<SlaveGroupDto> MemberOf(SlaveDto slave);
12
13    IEnumerable<SlaveGroupDto> FindAllWithSubGroupsAndSlaves();
14    IEnumerable<Guid> FindAllGroupAndParentGroupIdsForSlave(Guid slaveId);
15
16    IEnumerable<SlaveGroupDto> FindByName(string res);
17  }
18}
Note: See TracBrowser for help on using the repository browser.