1#ifndef NOTREADY_STATE_H
2#define NOTREADY_STATE_H
4#include "../../../helper/machine_state.h"
21 const std::function<void()> mOnServiceStopped;
Machine state abstract class.
Definition: machine_state.h:46
Machine state when the server's service is down or stopped.
Definition: notready_state.h:19
void ServiceActivated()
Inform the state that the server's service is up.
Definition: notready_state.cpp:29
void Deactivate(helper::SdServerState nextState) override
Deactivating the current state before transiting to the next state.
Definition: notready_state.cpp:34
void Activate(helper::SdServerState previousState) override
Activate the state.
Definition: notready_state.cpp:19
SdServerState
Service discovery server machine state.
Definition: machine_state.h:15