BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Types | Public Member Functions
BeeeOn::DeviceStatusFetcher::PrefixAnswer Class Reference

To simplify Answer management, include the prefix of the connected ServerDeviceListCommand inside the answer. More...

#include <DeviceStatusFetcher.h>

Inheritance diagram for BeeeOn::DeviceStatusFetcher::PrefixAnswer:
BeeeOn::Answer

Public Types

typedef Poco::AutoPtr
< PrefixAnswer
Ptr
 
- Public Types inherited from BeeeOn::Answer
typedef Poco::AutoPtr< AnswerPtr
 

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 ()
 

Detailed Description

To simplify Answer management, include the prefix of the connected ServerDeviceListCommand inside the answer.


The documentation for this class was generated from the following files: