Changeset 5053 for branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs
- Timestamp:
- 12/07/10 10:46:26 (13 years ago)
- Location:
- branches/HeuristicLab.Hive-3.4/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources
-
Property
svn:ignore
set to
HeuristicLab.Hive-3.4.suo
-
Property
svn:ignore
set to
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive/3.4/HiveService.cs
r5038 r5053 113 113 114 114 #region Job Control Methods 115 public void AbortJob(Guid jobId) {115 public void StopJob(Guid jobId) { 116 116 using (trans.OpenTransaction()) { 117 117 throw new NotImplementedException(); … … 164 164 165 165 #region Login Methods 166 //public void Login() { 167 // throw new NotImplementedException(); 168 //} 169 170 //public void Login(Slave slave) { 171 // throw new NotImplementedException(); 172 //} 173 174 //public void Logout(Guid clientId) { 175 // throw new NotImplementedException(); 176 //} 166 public void Hello(Guid slaveId, string name, int cores, int memory) { 167 throw new NotImplementedException(); 168 } 169 170 public void GoodBye() { 171 throw new NotImplementedException(); 172 } 177 173 #endregion 178 174 179 175 #region Heartbeat Methods 180 public List<MessageContainer> ProcessHeartbeat(Heartbeat heartbeat) {176 public List<MessageContainer> Heartbeat(Heartbeat heartbeat) { 181 177 using (trans.OpenTransaction()) { 182 178 return hive.ProcessHeartbeat(heartbeat); … … 186 182 187 183 #region Plugin Methods 188 public IEnumerable<PluginData> GetPluginDatas(List<Guid> pluginIds) {189 throw new NotImplementedException();190 }191 public Stream GetStreamedPluginDatas(List<Guid> pluginIds) {192 throw new NotImplementedException();193 }194 public IEnumerable<Plugin> GetAvailablePlugins() {195 return dao.GetPlugins(x => true);196 }197 184 public Guid AddPlugin(Plugin plugin, List<PluginData> pluginDatas) { 198 185 using (trans.OpenTransaction()) { … … 205 192 } 206 193 } 207 #endregion 208 209 #region Calendar Methods 210 public IEnumerable<Appointment> GetCalendar(Guid clientId) { 211 throw new NotImplementedException(); 212 } 213 214 public void SetCalendarStatus(Guid clientId, CalendarState state) { 215 using (trans.OpenTransaction()) { 216 throw new NotImplementedException(); 217 } 218 } 219 220 public IEnumerable<Appointment> GetUptimeCalendarForResource(Guid guid) { 221 throw new NotImplementedException(); 222 } 223 224 public void SetUptimeCalendarForResource(Guid guid, IEnumerable<Appointment> appointments, bool isForced) { 225 throw new NotImplementedException(); 226 } 227 #endregion 228 194 public IEnumerable<Plugin> GetPlugins() { 195 return dao.GetPlugins(x => true); 196 } 197 public IEnumerable<PluginData> GetPluginDatas(List<Guid> pluginIds) { 198 throw new NotImplementedException(); 199 } 200 public Stream GetStreamedPluginDatas(List<Guid> pluginIds) { 201 throw new NotImplementedException(); 202 } 203 #endregion 204 229 205 #region Slave Methods 230 206 public Guid AddSlave(Slave slave) { … … 292 268 293 269 #endregion 270 294 271 } 295 272 }
Note: See TracChangeset
for help on using the changeset viewer.