Changeset 4423 for branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/ILifecycleManager.cs
- Timestamp:
- 09/17/10 10:26:55 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.3-Hive/sources/HeuristicLab.Hive/HeuristicLab.Hive.Contracts/3.3/Interfaces/ILifecycleManager.cs
r1468 r4423 26 26 using HeuristicLab.DataAccess.Interfaces; 27 27 28 namespace HeuristicLab.Hive.Contracts.Interfaces { 28 namespace HeuristicLab.Hive.Contracts.Interfaces { 29 29 /// <summary> 30 30 /// Manages the lifecycle of the application 31 31 /// </summary> 32 public interface ILifecycleManager { 32 public interface ILifecycleManager { 33 33 /// <summary> 34 34 /// Initializes the application 35 35 /// </summary> 36 void Init(); 37 38 /// <summary> 39 /// The server heartbeat 40 /// </summary> 41 void RegisterHeartbeat(EventHandler handler); 42 43 /// <summary> 44 /// The startup event 45 /// </summary> 46 void RegisterStartup(EventHandler handler); 47 48 /// <summary> 49 /// The shutdown event 50 /// </summary> 51 void RegisterShutdown(EventHandler handler); 36 void Start(); 52 37 53 38 /// <summary> 54 39 /// Shuts the application down 55 40 /// </summary> 56 void Shutdown(); 41 void Stop(); 42 43 /// <summary> 44 /// The number of jobs which are transferred at the moment 45 /// </summary> 46 int JobsCurrentlyTransferring { get; set; } 47 48 event EventHandler ServerHeartbeat; 49 50 event EventHandler Started; 51 52 event EventHandler Stopped; 57 53 } 58 54 }
Note: See TracChangeset
for help on using the changeset viewer.