- sg_host_t host = nullptr; /* The host that is sleeping */
- surf_action_t surf_sleep = nullptr; /* The Surf sleeping action encapsulated */
+public:
+ SleepImpl& set_host(s4u::Host* host);
+ SleepImpl& set_duration(double duration);
+ void set_exception(actor::ActorImpl* issuer) override;
+ void finish() override;
+ SleepImpl* start();