libbmq  a5f8a06ba1d16cb5a65643e1fa7f1a1d6aadef40
BloombergLP::bmqa::MessageConfirmationCookie Class Reference

Cookie for async message confirmation.

#include <bmqa_message.h>

Public Member Functions

 MessageConfirmationCookie ()
 Create an unset instance of this class. More...
 
 MessageConfirmationCookie (const QueueId &queueId, const bmqt::MessageGUID &messageGUID)
 
const QueueIdqueueId () const
 
const bmqt::MessageGUIDmessageGUID () const
 

Constructor & Destructor Documentation

◆ MessageConfirmationCookie() [1/2]

BloombergLP::bmqa::MessageConfirmationCookie::MessageConfirmationCookie ( )
inline

◆ MessageConfirmationCookie() [2/2]

BloombergLP::bmqa::MessageConfirmationCookie::MessageConfirmationCookie ( const QueueId queueId,
const bmqt::MessageGUID messageGUID 
)
inline

Create an instance with the specified queueId and messageGUID. Users should not use that constructor directly, but rather load the message cookie from an existing bmqa::Message with the bmqa::Message::confirmationCookie accessor.

Member Function Documentation

◆ queueId()

const QueueId & BloombergLP::bmqa::MessageConfirmationCookie::queueId ( ) const
inline

Return the queue ID of the message with which this confirmation cookie is associated.

◆ messageGUID()

const bmqt::MessageGUID & BloombergLP::bmqa::MessageConfirmationCookie::messageGUID ( ) const
inline

Return message GUID of the message with which this confirmation cookie is associated.


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