1#ifndef NOTSUBSCRIBED_STATE_H
2#define NOTSUBSCRIBED_STATE_H
4#include "../../../helper/machine_state.h"
Machine state abstract class.
Definition: machine_state.h:46
Machine state in which the service is up but has no subscriber.
Definition: notsubscribed_state.h:18
void Subscribed()
Notify that a new client has subscribed to the server.
Definition: notsubscribed_state.cpp:22
void Deactivate(helper::PubSubState nextState) override
Deactivating the current state before transiting to the next state.
Definition: notsubscribed_state.cpp:32
void Activate(helper::PubSubState previousState) override
Activate the state.
Definition: notsubscribed_state.cpp:17
void Stopped()
Notify that the server has been stopped.
Definition: notsubscribed_state.cpp:27
PubSubState
Publish-subscribe server machine state.
Definition: machine_state.h:35