libbmq  a5f8a06ba1d16cb5a65643e1fa7f1a1d6aadef40
bmqa_configurequeuestatus.h File Reference

Provide Value-Semantic Type for a configure queue operation status. More...

#include <bmqa_queueid.h>
#include <bmqt_resultcode.h>
#include <bsl_iostream.h>
#include <bsl_string.h>
#include <bslma_allocator.h>
#include <bslma_default.h>
#include <bslma_usesbslmaallocator.h>
#include <bslmf_nestedtraitdeclaration.h>

Go to the source code of this file.

Classes

class  BloombergLP::bmqa::ConfigureQueueStatus
 

Namespaces

 BloombergLP
 
 BloombergLP::bmqa
 

Functions

bool BloombergLP::bmqa::operator== (const ConfigureQueueStatus &lhs, const ConfigureQueueStatus &rhs)
 
bool BloombergLP::bmqa::operator!= (const ConfigureQueueStatus &lhs, const ConfigureQueueStatus &rhs)
 
bsl::ostream & BloombergLP::bmqa::operator<< (bsl::ostream &stream, const ConfigureQueueStatus &rhs)
 

Detailed Description

This component provides a specific value-semantic type for the result of a configure queue operation with the BlazingMQ broker, providing applications with the result and context of the requested operation.

A bmqa::ConfigureQueueStatus type is composed of 3 attributes:

  1. result: indicates the status of the operation (success, failure, etc.) as specified in the corresponding result code enum, bmqt::ConfigureQueueResult::Enum.
  2. queueId: queueId associated with the configure queue operation.
  3. errorDescription: optional string with a human readable description of the error, if any