Name | |
---|---|
short | typeForMsg(final MamaMsg msg) |
String | stringForType(final MamaMsg msg) |
String | stringForType(final short type) |
class com::wombat::mama::MamaMsgType;
A utility class for retrieving and interpreting type information from Mama Messages.
static inline short typeForMsg(
final MamaMsg msg
)
Parameters:
Return: The type.
Extract the type from the supplied message.
static inline String stringForType(
final MamaMsg msg
)
Return: The type name.
Return the type name.
static inline String stringForType(
final short type
)
Return: The type name.
Return the type name.
static final short TYPE_UPDATE = 0;
general update (indices, funds).
static final short TYPE_INITIAL = 1;
initial value.
static final short TYPE_CANCEL = 2;
trade cancel.
static final short TYPE_ERROR = 3;
trade error.
static final short TYPE_CORRECTION = 4;
trade correction.
static final short TYPE_CLOSING = 5;
closing summary.
static final short TYPE_RECAP = 6;
refresh/recap of some/all fields.
static final short TYPE_DELETE = 7;
symbol deleted.
static final short TYPE_EXPIRE = 8;
expired. (e.g. option, future).
static final short TYPE_SNAPSHOT = 9;
full-record snapshot (no updates).
static final short TYPE_PREOPENING = 12;
pre-opening summary. (e.g. morning “roll”).
static final short TYPE_QUOTE = 13;
quote updates.
static final short TYPE_TRADE = 14;
trade updates.
static final short TYPE_ORDER = 15;
order updates.
static final short TYPE_BOOK_INITIAL = 16;
order book initial.
static final short TYPE_BOOK_UPDATE = 17;
order book update.
static final short TYPE_BOOK_CLEAR = 18;
order book clear.
static final short TYPE_BOOK_RECAP = 19;
order book recap.
static final short TYPE_BOOK_SNAPSHOT = 20;
order book snapshot.
static final short TYPE_NOT_PERMISSIONED = 21;
not permissioned (on feed).
static final short TYPE_NOT_FOUND = 22;
not found (but may show up later).
static final short TYPE_END_OF_INITIALS = 23;
end of group of initial values.
static final short TYPE_WOMBAT_REQUEST = 24;
service request.
static final short TYPE_WOMBAT_CALC = 25;
calculated result.
static final short TYPE_SEC_STATUS = 26;
security status update
static final short TYPE_DDICT_SNAPSHOT = 50;
data dictionary.
static final short TYPE_MISC = 100;
miscellaneous.
static final short TYPE_PLATFORM = 101;
static final short TYPE_FEATURE_SET = 150;
static final short TYPE_FEATURE_SET_REQ = 151;
static final short TYPE_SYNC_REQUEST = 170;
static final short TYPE_REFRESH = 171;
static final short TYPE_NULL = 175;
static final short WV_REQUEST_SYMBOLOGIES = 180;
static final short WV_REPLY_SYMBOLOGIES = 181;
static final short WV_UPDATE_SYMBOLOGIES = 182;
static final short WV_REQUEST_SOURCES = 183;
static final short WV_REPLY_SOURCES = 184;
static final short WV_UPDATE_SOURCES = 185;
static final short WV_REQUEST_SOURCES_GROUPS = 186;
static final short WV_REPLY_SOURCES_GROUPS = 187;
static final short WV_UPDATE_SOURCES_GROUPS = 188;
static final short WV_REQUEST_SYMBOL_RESOLUTION = 189;
static final short WV_REPLY_SYMBOL_RESOLUTION = 190;
Updated on 2023-03-31 at 15:29:43 +0100