wrench::ServiceIsDown

class ServiceIsDown : public wrench::FailureCause

A “service is down” failure cause.

Public Functions

explicit ServiceIsDown(std::shared_ptr<Service> service)

Constructor.

Parameters:

service – the service that was down

std::shared_ptr<Service> getService()

Getter.

Returns:

the service

virtual std::string toString() override

Get the human-readable failure message.

Returns:

the message