A message sent by the ServiceTerminationDetector to notify some listener that the monitored service has terminated.
More...
#include <ServiceTerminationDetectorMessage.h>
|
int | exit_code |
| The exit code of the service's main.
|
|
std::shared_ptr< Service > | service |
| The service that has terminated.
|
|
std::string | name |
| The message name.
|
|
double | payload |
| The message size in bytes.
|
|
A message sent by the ServiceTerminationDetector to notify some listener that the monitored service has terminated.
◆ ServiceHasTerminatedMessage()
wrench::ServiceHasTerminatedMessage::ServiceHasTerminatedMessage |
( |
std::shared_ptr< Service > |
service, |
|
|
int |
exit_code |
|
) |
| |
|
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: