com.wombat.mama
public final class MamaMdMsgType extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MamaMdMsgType |
BOOK_INITIAL |
static int |
BOOK_INITIAL_VALUE
Order book initial value
|
static MamaMdMsgType |
CANCEL |
static int |
CANCEL_VALUE
Trade Cancellation
|
static MamaMdMsgType |
CLOSING |
static int |
CLOSING_VALUE
Closing summary
|
static MamaMdMsgType |
CORRECTION |
static int |
CORRECTION_VALUE
Trade correction
|
static MamaMdMsgType |
ERROR |
static int |
ERROR_VALUE
Trade Error
|
static MamaMdMsgType |
IMBALANCE |
static int |
IMBALANCE_VALUE
Order imbalance or noimbalance update
|
static MamaMdMsgType |
MISC |
static int |
MISC_VALUE
Miscellaneous.
|
static MamaMdMsgType |
PREOPENING |
static int |
PREOPENING_VALUE
Pre-opening summary (e.g.
|
static MamaMdMsgType |
QUOTE |
static int |
QUOTE_VALUE
Quote update.
|
static MamaMdMsgType |
SECURITY_STATUS |
static int |
SECURITY_STATUS_VALUE
Security status update
|
static MamaMdMsgType |
SYMBOL_ACTION |
static int |
SYMBOL_ACTION_VALUE
Action related to this symbol, such as a name change or symbol
deletion due to option/future expiration, etc.
|
static MamaMdMsgType |
TRADE |
static int |
TRADE_VALUE
Trade Update
|
Modifier and Type | Method and Description |
---|---|
static short |
compatMsgType(MamaMdMsgType mdMsgType)
Return the corresponding MamaMsgType for the specified MamaMdMsgType.
|
static MamaMdMsgType |
enumObjectForValue(int value)
Return an instance of a MamaMdMsgType corresponding to the specified
integer value.
|
boolean |
equals(MamaMdMsgType appDataType)
Compare the two types for equality.
|
int |
getValue()
Returns the integer value for the type.
|
static java.lang.String |
stringForMsg(MamaMsg msg)
The stringified name of the type based on the int value for the type in
the specified message.
|
java.lang.String |
toString()
Returns the stringified name for the enumerated type.
|
static MamaMdMsgType |
typeForMsg(MamaMsg msg)
Get the md msg type from the specified MamaMsg.
|
static java.lang.String |
valueToString(int value)
Utility method for mapping type integer values to corresponding string
values.
|
public static final int CANCEL_VALUE
public static final MamaMdMsgType CANCEL
public static final int ERROR_VALUE
public static final MamaMdMsgType ERROR
public static final int CORRECTION_VALUE
public static final MamaMdMsgType CORRECTION
public static final int CLOSING_VALUE
public static final MamaMdMsgType CLOSING
public static final int SYMBOL_ACTION_VALUE
public static final MamaMdMsgType SYMBOL_ACTION
public static final int PREOPENING_VALUE
public static final MamaMdMsgType PREOPENING
public static final int QUOTE_VALUE
public static final MamaMdMsgType QUOTE
public static final int TRADE_VALUE
public static final MamaMdMsgType TRADE
public static final int BOOK_INITIAL_VALUE
public static final MamaMdMsgType BOOK_INITIAL
public static final int IMBALANCE_VALUE
public static final MamaMdMsgType IMBALANCE
public static final int SECURITY_STATUS_VALUE
public static final MamaMdMsgType SECURITY_STATUS
public static final int MISC_VALUE
public static final MamaMdMsgType MISC
public java.lang.String toString()
toString
in class java.lang.Object
public int getValue()
public boolean equals(MamaMdMsgType appDataType)
appDataType
- The object to check equality against.public static MamaMdMsgType typeForMsg(MamaMsg msg)
msg
- The MamaMsg from which the msg type will be extracted.public static java.lang.String stringForMsg(MamaMsg msg)
msg
- The MamaMsg from which the type is to be extracted.public static short compatMsgType(MamaMdMsgType mdMsgType)
mdMsgType
- The MamaMdMsgType for which a mapping is required.public static java.lang.String valueToString(int value)
value
- The int value for a MamaMdMsgType.public static MamaMdMsgType enumObjectForValue(int value)
value
- Int value for a MamaMdMsgType.Copyright 2011 NYSE Technologies