com.wombat.mama
public class MamaMsgStatus extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short |
STATUS_BAD_SYMBOL
The symbol does not exist
|
static short |
STATUS_BANDWIDTH_EXCEEDED
Bandwidth exceeded
|
static short |
STATUS_DELETE
Message with the type of DELETE
|
static short |
STATUS_DUPLICATE
Message with duplicate sequence number
|
static short |
STATUS_EXCEPTION |
static short |
STATUS_EXPIRED
Expired
|
static short |
STATUS_LINE_DOWN
The feed handler has detected a Line Down.
|
static short |
STATUS_MISC
Miscellaneous status.
|
static short |
STATUS_NO_SUBSCRIBERS
The feed handler does not have any subscribers to the subject
|
static short |
STATUS_NOT_ENTITLED
Not entitled to a subject
|
static short |
STATUS_NOT_FOUND
Not found
|
static short |
STATUS_NOT_PERMISSIONED
Not permissioned for the subject
|
static short |
STATUS_OK
OK
|
static short |
STATUS_PLATFORM_STATUS
Error in the underlying messaging API
|
static short |
STATUS_POSSIBLY_STALE
Messages may have been dropped
|
static short |
STATUS_STALE
The subject is stale.
|
static short |
STATUS_TIBRV_STATUS |
static short |
STATUS_TIMEOUT
A time out occurred
|
static short |
STATUS_TOPIC_CHANGE
Topic renamed
|
Constructor and Description |
---|
MamaMsgStatus() |
Modifier and Type | Method and Description |
---|---|
static int |
statusForMsg(MamaMsg msg)
Extract the status from the supplied message.
|
static java.lang.String |
stringForStatus(int type)
Return a text description of the message's status.
|
static java.lang.String |
stringForStatus(MamaMsg msg)
Return the status as a string given an
MamaMsg message. |
public static final short STATUS_OK
public static final short STATUS_LINE_DOWN
public static final short STATUS_NO_SUBSCRIBERS
public static final short STATUS_BAD_SYMBOL
public static final short STATUS_EXPIRED
public static final short STATUS_TIMEOUT
public static final short STATUS_MISC
public static final short STATUS_STALE
public static final short STATUS_TIBRV_STATUS
public static final short STATUS_PLATFORM_STATUS
public static final short STATUS_NOT_ENTITLED
public static final short STATUS_NOT_FOUND
public static final short STATUS_POSSIBLY_STALE
public static final short STATUS_NOT_PERMISSIONED
public static final short STATUS_TOPIC_CHANGE
public static final short STATUS_BANDWIDTH_EXCEEDED
public static final short STATUS_DUPLICATE
public static final short STATUS_DELETE
public static final short STATUS_EXCEPTION
public static int statusForMsg(MamaMsg msg)
msg
- public static java.lang.String stringForStatus(MamaMsg msg)
MamaMsg
message.public static java.lang.String stringForStatus(int type)
Copyright 2011 NYSE Technologies