wrench::ServiceIsSuspended

class wrench::ServiceIsSuspended : public wrench::FailureCause

A “service is suspended” failure cause.

Public Functions

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

Constructor.

Parameters

service – the service that was suspended

std::shared_ptr<Service> getService()

Getter.

Returns

the service

virtual std::string toString() override

Get the human-readable failure message.

Returns

the message