BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
|
To simplify Answer management, include the prefix of the connected ServerDeviceListCommand inside the answer. More...
#include <DeviceStatusFetcher.h>
Public Types | |
typedef Poco::AutoPtr < PrefixAnswer > | Ptr |
Public Types inherited from BeeeOn::Answer | |
typedef Poco::AutoPtr< Answer > | Ptr |
Public Member Functions | |
PrefixAnswer (AnswerQueue &queue, const DevicePrefix &prefix) | |
DevicePrefix | prefix () const |
Public Member Functions inherited from BeeeOn::Answer | |
Answer (AnswerQueue &answerQueue, const bool autoDispose=false) | |
Answer (const Answer &)=delete | |
void | setDirty (bool dirty) |
bool | isDirty () const |
bool | isPending () const |
Poco::Event & | event () |
bool | isEmpty () const |
unsigned long | resultsCount () const |
int | handlersCount () const |
void | setHandlersCount (unsigned long counter) |
void | addResult (Result *result) |
void | notifyUpdated () |
void | waitNotPending (const Poco::Timespan &timeout) |
Result::Ptr | at (size_t position) |
std::vector< Result::Ptr > ::iterator | begin () |
std::vector< Result::Ptr > ::iterator | end () |
To simplify Answer management, include the prefix of the connected ServerDeviceListCommand inside the answer.