BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions | Protected Member Functions | Protected Attributes
BeeeOn::AnswerQueue Class Reference
Inheritance diagram for BeeeOn::AnswerQueue:
BeeeOn::Loggable

Public Member Functions

bool wait (const Poco::Timespan &timeout, std::list< Answer::Ptr > &dirtyList)
 
Answer::Ptr newAnswer ()
 
void remove (const Answer::Ptr answer)
 
std::list< Answer::Ptr > finishedAnswers ()
 
Poco::Event & event ()
 
unsigned long size () const
 
void dispose ()
 
void notifyUpdated ()
 
- Public Member Functions inherited from BeeeOn::Loggable
 Loggable (const ClassInfo &info)
 
 Loggable (const std::type_info &info)
 

Protected Member Functions

void add (Answer *answer)
 
bool isDisposed () const
 
bool block (const Poco::Timespan &timeout)
 
void listDirty (std::list< Answer::Ptr > &dirtyList) const
 
- Protected Member Functions inherited from BeeeOn::Loggable
void setupLogger (Poco::Logger *logger=0) const
 
Poco::Logger & logger () const
 

Protected Attributes

std::list< Answer::Ptr > m_answerList
 
Poco::Event m_event
 
Poco::FastMutex m_mutex
 
Poco::AtomicCounter m_disposed
 

Additional Inherited Members

- Static Public Member Functions inherited from BeeeOn::Loggable
static Poco::Logger & forMethod (const char *name)
 
static Poco::Logger & forClass (const ClassInfo &info)
 
static Poco::Logger & forClass (const std::type_info &info)
 
template<typename T >
static Poco::Logger & forInstance (const T *i)
 
static void configureSimple (Poco::Logger &logger, const std::string &level)
 
static void logException (Poco::Logger &logger, const Poco::Message::Priority priority, const Poco::Exception &e, const char *file, size_t line)
 

Member Function Documentation

void AnswerQueue::dispose ( )

It processes all instances of Answer, adds their Results and sets them as FAILED.


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