AWS SDK for C++AWS SDK for C++ Version 1.11.440 |
#include <Queue.h>
Simple queue class. Allows standard queue operations top, delete, and push. Also has higher level, asynchronous interface with callbacks.
You are responsible for calling StartPolling() if you intend to use the asynchronous pattern.
the value of pollingFrequency is how long to wait between queue polls. If the queue poll exceeds this limit then the next poll will start immediately upon completion of the existing poll, this value is useful only if you intend to use this instance for the asynchronous polling model.
Implemented in Aws::Queues::Sqs::SQSQueue.
Implemented in Aws::Queues::Sqs::SQSQueue.
Stops the polling thread. Messages in transit will be handled before termination of the thread. Will be called by the destructor so only call this if you want control over when the thread exits. This method blocks waiting on the polling thread to stop. After being called, the StartPolling() method can be called, and the thread will resume.
Implemented in Aws::Queues::Sqs::SQSQueue.