21 #ifndef OLAD_HTTPSERVERACTIONS_H_
22 #define OLAD_HTTPSERVERACTIONS_H_
26 #include "ola/ActionQueue.h"
27 #include "ola/client/OlaClient.h"
45 bool Failed()
const {
return m_failed; }
52 void RequestComplete(
bool failure);
53 virtual void DoAction() = 0;
69 unsigned int universe,
70 const std::string &name,
75 m_is_fatal(is_fatal) {
78 bool IsFatal()
const {
return m_is_fatal; }
84 unsigned int m_universe;
98 unsigned int universe,
99 client::OlaUniverse::merge_mode mode):
101 m_universe(universe),
105 bool IsFatal()
const {
return false; }
111 unsigned int m_universe;
112 client::OlaUniverse::merge_mode m_merge_mode;
124 unsigned int device_alias,
127 unsigned int universe,
130 m_device_alias(device_alias),
132 m_direction(direction),
133 m_universe(universe),
137 bool IsFatal()
const {
return false; }
143 unsigned int m_device_alias;
146 unsigned int m_universe;
159 unsigned int device_alias,
163 m_device_alias(device_alias),
165 m_direction(direction) {
168 bool IsFatal()
const {
return false; }
174 unsigned int m_device_alias;
188 unsigned int device_alias,
191 uint8_t overide_value):
193 m_device_alias(device_alias),
195 m_direction(direction),
196 m_override_value(overide_value) {
199 bool IsFatal()
const {
return false; }
205 unsigned int m_device_alias;
208 uint8_t m_override_value;
213 #endif // OLAD_HTTPSERVERACTIONS_H_