Template Class MessageDeliveryQueue

Inheritance Relationships

Base Type

Class Documentation

template<typename MessageTopicDefinition>
class message_flow::MessageDeliveryQueue : public message_flow::MessageDeliveryQueueBase

Public Types

typedef MessageTopicDefinition::message_type MessageType
typedef std::function<void(const MessageType&)> SubscriberCallback

Public Functions

inline MessageDeliveryQueue(const SubscriberCallback &subscriber_callback, const DeliveryOptions &delivery_options)
inline virtual ~MessageDeliveryQueue()
inline void queueMessageForDelivery(const MessageType &message)
inline virtual void deliverOldestMessage() final
inline virtual std::string getTopicName() const final
inline virtual const DeliveryOptions &getDeliveryOptions() const final
inline bool empty() const
inline virtual size_t size() const