A message sent by the ServiceTerminationDetector to notify some listener that the monitored service has terminated. More...
#include <ServiceTerminationDetectorMessage.h>
Public Member Functions | |
ServiceHasTerminatedMessage (std::shared_ptr< Service > service, int exit_code) | |
Constructor. More... | |
Public Attributes | |
int | exit_code |
The exit code of the service's main. | |
std::shared_ptr< Service > | service |
The service that has terminated. | |
Additional Inherited Members |
Detailed Description
A message sent by the ServiceTerminationDetector to notify some listener that the monitored service has terminated.
Constructor & Destructor Documentation
◆ ServiceHasTerminatedMessage()
|
explicit |
Constructor.
- Parameters
-
service the service that has terminated exit_code the service exit_code
The documentation for this class was generated from the following files:
- ServiceTerminationDetectorMessage.h
- ServiceTerminationDetectorMessage.cpp