26 lines
606 B
C++
Raw Normal View History

2022-09-19 20:03:51 +03:00
#include <std_include.hpp>
2024-01-31 20:00:28 +02:00
#include "../dw_include.hpp"
2022-09-19 20:03:51 +03:00
namespace demonware
{
bdCounter::bdCounter() : service(23, "bdCounter")
{
this->register_task(1, &bdCounter::incrementCounters);
this->register_task(2, &bdCounter::getCounterTotals);
}
void bdCounter::incrementCounters(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
2024-01-31 20:00:28 +02:00
reply.send();
2022-09-19 20:03:51 +03:00
}
void bdCounter::getCounterTotals(service_server* server, byte_buffer* /*buffer*/) const
{
// TODO:
auto reply = server->create_reply(this->task_id());
2024-01-31 20:00:28 +02:00
reply.send();
2022-09-19 20:03:51 +03:00
}
}