17 #ifndef INCLUDED_BMQT_RESULTCODE
18 #define INCLUDED_BMQT_RESULTCODE
49 #include <bsl_iosfwd.h>
50 #include <bsl_string.h>
101 static bsl::ostream&
print(bsl::ostream& stream,
104 int spacesPerLevel = 4);
121 const bslstl::StringRef& str);
179 static bsl::ostream&
print(bsl::ostream& stream,
182 int spacesPerLevel = 4);
199 const bslstl::StringRef& str);
250 static bsl::ostream&
print(bsl::ostream& stream,
253 int spacesPerLevel = 4);
270 const bslstl::StringRef& str);
277 bsl::ostream&
operator<<(bsl::ostream& stream,
327 static bsl::ostream&
print(bsl::ostream& stream,
330 int spacesPerLevel = 4);
347 const bslstl::StringRef& str);
379 #ifdef BMQ_ENABLE_MSG_GROUPID
381 e_INVALID_MSG_GROUP_ID = -107
401 static bsl::ostream&
print(bsl::ostream& stream,
404 int spacesPerLevel = 4);
421 const bslstl::StringRef& str);
487 static bsl::ostream&
print(bsl::ostream& stream,
490 int spacesPerLevel = 4);
556 static bsl::ostream&
print(bsl::ostream& stream,
559 int spacesPerLevel = 4);
bsl::ostream & operator<<(bsl::ostream &stream, CompressionAlgorithmType::Enum value)
Definition: bmqt_compressionalgorithmtype.h:141
Definition: bmqa_abstractsession.h:42
This enum represents the result code status of an ack message.
Definition: bmqt_resultcode.h:435
Enum
Definition: bmqt_resultcode.h:437
@ e_REFUSED
Definition: bmqt_resultcode.h:445
@ e_LIMIT_MESSAGES
Definition: bmqt_resultcode.h:452
@ e_INVALID_ARGUMENT
Definition: bmqt_resultcode.h:446
@ e_LIMIT_DOMAIN_MESSAGES
Definition: bmqt_resultcode.h:460
@ e_LIMIT_DOMAIN_BYTES
Definition: bmqt_resultcode.h:462
@ e_NOT_SUPPORTED
Definition: bmqt_resultcode.h:444
@ e_LIMIT_BYTES
Definition: bmqt_resultcode.h:454
@ e_CANCELED
Definition: bmqt_resultcode.h:443
@ e_STORAGE_FAILURE
Definition: bmqt_resultcode.h:470
@ e_SUCCESS
Definition: bmqt_resultcode.h:439
@ e_UNKNOWN
Definition: bmqt_resultcode.h:440
@ e_LIMIT_QUEUE_MESSAGES
Definition: bmqt_resultcode.h:464
@ e_NOT_READY
Definition: bmqt_resultcode.h:447
@ e_LIMIT_QUEUE_BYTES
Definition: bmqt_resultcode.h:466
@ e_TIMEOUT
Definition: bmqt_resultcode.h:441
@ e_NOT_CONNECTED
Definition: bmqt_resultcode.h:442
static bsl::ostream & print(bsl::ostream &stream, AckResult::Enum value, int level=0, int spacesPerLevel=4)
static const char * toAscii(AckResult::Enum value)
static bool fromAscii(AckResult::Enum *out, const bslstl::StringRef &str)
This enum represents the result of a closeQueue operation.
Definition: bmqt_resultcode.h:285
Enum
Definition: bmqt_resultcode.h:287
@ e_REFUSED
Definition: bmqt_resultcode.h:295
@ e_NOT_READY
Definition: bmqt_resultcode.h:297
@ e_UNKNOWN_QUEUE
Definition: bmqt_resultcode.h:308
@ e_NOT_SUPPORTED
Definition: bmqt_resultcode.h:294
@ e_NOT_CONNECTED
Definition: bmqt_resultcode.h:292
@ e_UNKNOWN
Definition: bmqt_resultcode.h:290
@ e_ALREADY_IN_PROGRESS
Definition: bmqt_resultcode.h:304
@ e_TIMEOUT
Definition: bmqt_resultcode.h:291
@ e_SUCCESS
Definition: bmqt_resultcode.h:289
@ e_INVALID_QUEUE
Definition: bmqt_resultcode.h:310
@ e_CANCELED
Definition: bmqt_resultcode.h:293
@ e_ALREADY_CLOSED
Definition: bmqt_resultcode.h:302
@ e_INVALID_ARGUMENT
Definition: bmqt_resultcode.h:296
static bsl::ostream & print(bsl::ostream &stream, CloseQueueResult::Enum value, int level=0, int spacesPerLevel=4)
static bool fromAscii(CloseQueueResult::Enum *out, const bslstl::StringRef &str)
static const char * toAscii(CloseQueueResult::Enum value)
Definition: bmqt_resultcode.h:362
Enum
Definition: bmqt_resultcode.h:364
@ e_QUEUE_READONLY
Definition: bmqt_resultcode.h:373
@ e_OPTION_TOO_BIG
Definition: bmqt_resultcode.h:378
@ e_UNKNOWN
Definition: bmqt_resultcode.h:367
@ e_PAYLOAD_EMPTY
Definition: bmqt_resultcode.h:377
@ e_QUEUE_INVALID
Definition: bmqt_resultcode.h:372
@ e_QUEUE_SUSPENDED
Definition: bmqt_resultcode.h:384
@ e_EVENT_TOO_BIG
Definition: bmqt_resultcode.h:375
@ e_SUCCESS
Definition: bmqt_resultcode.h:366
@ e_MISSING_CORRELATION_ID
Definition: bmqt_resultcode.h:374
@ e_PAYLOAD_TOO_BIG
Definition: bmqt_resultcode.h:376
static const char * toAscii(EventBuilderResult::Enum value)
static bool fromAscii(EventBuilderResult::Enum *out, const bslstl::StringRef &str)
static bsl::ostream & print(bsl::ostream &stream, EventBuilderResult::Enum value, int level=0, int spacesPerLevel=4)
This enum represents generic common status.
Definition: bmqt_resultcode.h:60
Enum
Definition: bmqt_resultcode.h:62
@ e_NOT_CONNECTED
Definition: bmqt_resultcode.h:69
@ e_CANCELED
Definition: bmqt_resultcode.h:71
@ e_NOT_SUPPORTED
Definition: bmqt_resultcode.h:73
@ e_LAST
Definition: bmqt_resultcode.h:81
@ e_NOT_READY
Definition: bmqt_resultcode.h:79
@ e_SUCCESS
Definition: bmqt_resultcode.h:63
@ e_TIMEOUT
Definition: bmqt_resultcode.h:67
@ e_INVALID_ARGUMENT
Definition: bmqt_resultcode.h:77
@ e_UNKNOWN
Definition: bmqt_resultcode.h:65
@ e_REFUSED
Definition: bmqt_resultcode.h:75
static bool fromAscii(GenericResult::Enum *out, const bslstl::StringRef &str)
static bsl::ostream & print(bsl::ostream &stream, GenericResult::Enum value, int level=0, int spacesPerLevel=4)
static const char * toAscii(GenericResult::Enum value)
This enum represents the result of an openQueue operation.
Definition: bmqt_resultcode.h:135
static const char * toAscii(OpenQueueResult::Enum value)
Enum
Definition: bmqt_resultcode.h:137
@ e_CANCELED
Definition: bmqt_resultcode.h:143
@ e_SUCCESS
Definition: bmqt_resultcode.h:139
@ e_NOT_CONNECTED
Definition: bmqt_resultcode.h:142
@ e_UNKNOWN
Definition: bmqt_resultcode.h:140
@ e_NOT_SUPPORTED
Definition: bmqt_resultcode.h:144
@ e_INVALID_URI
Definition: bmqt_resultcode.h:158
@ e_INVALID_FLAGS
Definition: bmqt_resultcode.h:160
@ e_NOT_READY
Definition: bmqt_resultcode.h:147
@ e_REFUSED
Definition: bmqt_resultcode.h:145
@ e_INVALID_ARGUMENT
Definition: bmqt_resultcode.h:146
@ e_TIMEOUT
Definition: bmqt_resultcode.h:141
@ e_ALREADY_OPENED
Definition: bmqt_resultcode.h:152
@ e_CORRELATIONID_NOT_UNIQUE
Definition: bmqt_resultcode.h:162
@ e_ALREADY_IN_PROGRESS
Definition: bmqt_resultcode.h:154
static bool fromAscii(OpenQueueResult::Enum *out, const bslstl::StringRef &str)
static bsl::ostream & print(bsl::ostream &stream, OpenQueueResult::Enum value, int level=0, int spacesPerLevel=4)
This enum represents the result code status of a post message.
Definition: bmqt_resultcode.h:520
Enum
Definition: bmqt_resultcode.h:522
@ e_SUCCESS
Definition: bmqt_resultcode.h:524
@ e_NOT_SUPPORTED
Definition: bmqt_resultcode.h:529
@ e_INVALID_ARGUMENT
Definition: bmqt_resultcode.h:531
@ e_NOT_CONNECTED
Definition: bmqt_resultcode.h:527
@ e_BW_LIMIT
Definition: bmqt_resultcode.h:537
@ e_NOT_READY
Definition: bmqt_resultcode.h:532
@ e_UNKNOWN
Definition: bmqt_resultcode.h:525
@ e_REFUSED
Definition: bmqt_resultcode.h:530
@ e_TIMEOUT
Definition: bmqt_resultcode.h:526
@ e_CANCELED
Definition: bmqt_resultcode.h:528
static const char * toAscii(PostResult::Enum value)
static bsl::ostream & print(bsl::ostream &stream, PostResult::Enum value, int level=0, int spacesPerLevel=4)
static bool fromAscii(PostResult::Enum *out, const bslstl::StringRef &str)