Name | |
---|---|
int | statusForMsg(final MamaMsg msg) |
String | stringForStatus(final MamaMsg msg) |
String | stringForStatus(final int type) |
Name | |
---|---|
final short | STATUS_OK |
final short | STATUS_LINE_DOWN |
final short | STATUS_NO_SUBSCRIBERS |
final short | STATUS_BAD_SYMBOL |
final short | STATUS_EXPIRED |
final short | STATUS_TIMEOUT |
final short | STATUS_MISC |
final short | STATUS_STALE |
final short | STATUS_TIBRV_STATUS |
final short | STATUS_PLATFORM_STATUS |
final short | STATUS_NOT_ENTITLED |
final short | STATUS_NOT_FOUND |
final short | STATUS_POSSIBLY_STALE |
final short | STATUS_NOT_PERMISSIONED |
final short | STATUS_TOPIC_CHANGE |
final short | STATUS_BANDWIDTH_EXCEEDED |
final short | STATUS_DUPLICATE |
final short | STATUS_DELETE |
final short | STATUS_EXCEPTION |
class com::wombat::mama::MamaMsgStatus;
Utility class for interpreting Mama message status.
static inline int statusForMsg(
final MamaMsg msg
)
Parameters:
Extract the status from the supplied message.
static inline String stringForStatus(
final MamaMsg msg
)
Return: The string.
Return the status as a string given an [MamaMsg](classcom_1_1wombat_1_1mama_1_1MamaMsg.html)
message.
static inline String stringForStatus(
final int type
)
Return: The description.
Return a text description of the message’s status.
static final short STATUS_OK = 0;
OK
static final short STATUS_LINE_DOWN = 1;
The feed handler has detected a Line Down.
static final short STATUS_NO_SUBSCRIBERS = 2;
The feed handler does not have any subscribers to the subject
static final short STATUS_BAD_SYMBOL = 3;
The symbol does not exist
static final short STATUS_EXPIRED = 4;
Expired
static final short STATUS_TIMEOUT = 5;
A time out occurred
static final short STATUS_MISC = 6;
Miscellaneous status. Not an error
static final short STATUS_STALE = 7;
The subject is stale. Messages may have been dropped
static final short STATUS_TIBRV_STATUS = 8;
static final short STATUS_PLATFORM_STATUS = 8;
Error in the underlying messaging API
static final short STATUS_NOT_ENTITLED = 9;
Not entitled to a subject
static final short STATUS_NOT_FOUND = 10;
Not found
static final short STATUS_POSSIBLY_STALE = 11;
Messages may have been dropped
static final short STATUS_NOT_PERMISSIONED = 12;
Not permissioned for the subject
static final short STATUS_TOPIC_CHANGE = 13;
Topic renamed
static final short STATUS_BANDWIDTH_EXCEEDED = 14;
Bandwidth exceeded
static final short STATUS_DUPLICATE = 15;
Message with duplicate sequence number
static final short STATUS_DELETE = 17;
Message with the type of DELETE
static final short STATUS_EXCEPTION = 999;
Updated on 2023-03-31 at 15:29:43 +0100