Interface IDaemon
Defines abstraction for an entity that is controlled by Start/Stop commands and has a status
Inherited Members
Namespace: Azos.Apps
Assembly: Azos.dll
Syntax
public interface IDaemon : IDaemonView, IApplicationComponent, INamed, IConfigurable
Methods
CheckForCompleteStop()
Non-blocking call that returns true when the service instance has completely stopped after SignalStop()
Declaration
bool CheckForCompleteStop()
Returns
Type | Description |
---|---|
System.Boolean |
SignalStop()
Non-blocking call that initiates the stopping of the service
Declaration
void SignalStop()
Start()
Blocking call that starts the service instance
Declaration
void Start()
WaitForCompleteStop()
Blocks execution of current thread until this service has completely stopped
Declaration
void WaitForCompleteStop()