Go to the source code of this file.
|
enum | mamaMsgType {
MAMA_MSG_TYPE_UPDATE = 0,
MAMA_MSG_TYPE_INITIAL = 1,
MAMA_MSG_TYPE_CANCEL = 2,
MAMA_MSG_TYPE_ERROR = 3,
MAMA_MSG_TYPE_CORRECTION = 4,
MAMA_MSG_TYPE_CLOSING = 5,
MAMA_MSG_TYPE_RECAP = 6,
MAMA_MSG_TYPE_DELETE = 7,
MAMA_MSG_TYPE_EXPIRE = 8,
MAMA_MSG_TYPE_SNAPSHOT = 9,
MAMA_MSG_TYPE_PREOPENING = 12,
MAMA_MSG_TYPE_QUOTE = 13,
MAMA_MSG_TYPE_TRADE = 14,
MAMA_MSG_TYPE_ORDER = 15,
MAMA_MSG_TYPE_BOOK_INITIAL = 16,
MAMA_MSG_TYPE_BOOK_UPDATE = 17,
MAMA_MSG_TYPE_BOOK_CLEAR = 18,
MAMA_MSG_TYPE_BOOK_RECAP = 19,
MAMA_MSG_TYPE_BOOK_SNAPSHOT = 20,
MAMA_MSG_TYPE_NOT_PERMISSIONED = 21,
MAMA_MSG_TYPE_NOT_FOUND = 22,
MAMA_MSG_TYPE_END_OF_INITIALS = 23,
MAMA_MSG_TYPE_WOMBAT_REQUEST = 24,
MAMA_MSG_TYPE_WOMBAT_CALC = 25,
MAMA_MSG_TYPE_SEC_STATUS = 26,
MAMA_MSG_TYPE_DDICT_SNAPSHOT = 50,
MAMA_MSG_TYPE_MISC = 100,
MAMA_MSG_TYPE_TIBRV = 101,
MAMA_MSG_TYPE_FEATURE_SET = 150,
MAMA_MSG_TYPE_SYNC_REQUEST = 170,
MAMA_MSG_TYPE_REFRESH = 171,
MAMA_MSG_TYPE_WORLD_VIEW = 172,
MAMA_MSG_TYPE_NEWS_QUERY = 173,
MAMA_MSG_TYPE_NULL = 175,
MAMA_MSG_TYPE_ENTITLEMENTS_REFRESH = 176,
MAMA_MSG_TYPE_UNKNOWN = 199
} |
|
◆ mamaMsgType
◆ mamaMsgType
Enumerator |
---|
MAMA_MSG_TYPE_UPDATE | General update (includes, funds).
For direct feeds, the handler sends more specific message types for stocks and order books; however, aggregated feeds will send MAMA_MSG_TYPE_UPDATE for stocks and order books as well.
|
MAMA_MSG_TYPE_INITIAL | Initial value.
The initial image (full record) for normal subscriptions. The initial value is the first message (several messages for multi-part initialvalues) to arrive with all of the information in the cache. Multi-part initial values only occur on Mama for TIBRV. If the requiresInitial parameter to createSubscription is 0, no initial value is sent.
|
MAMA_MSG_TYPE_CANCEL | Trade cancel.
|
MAMA_MSG_TYPE_ERROR | An error occurred .
|
MAMA_MSG_TYPE_CORRECTION | Trade correction.
|
MAMA_MSG_TYPE_CLOSING | Closing summary.
|
MAMA_MSG_TYPE_RECAP | Refresh/recap of some/all fields.
When the client detects a sequence number gap, it requests a recap from the feed handler. The feed handler may also send recaps in the event of a correction or other event that requires publishing the full record.
|
MAMA_MSG_TYPE_DELETE | The feed handler will not send any more updates for the symbol, to the client in question.
|
MAMA_MSG_TYPE_EXPIRE | Expired option or future.
|
MAMA_MSG_TYPE_SNAPSHOT | A snapshot is the same as an initial value; however, the client will not receive any subsequent updates.
Clients request snapshots by creating snapshot subscriptions.
|
MAMA_MSG_TYPE_PREOPENING | Pre-opening summary (e.g.
morning "roll").
|
MAMA_MSG_TYPE_QUOTE | Quote updates.
|
MAMA_MSG_TYPE_TRADE | Trade updates.
|
MAMA_MSG_TYPE_ORDER | Order updates.
|
MAMA_MSG_TYPE_BOOK_INITIAL | Order book initial value.
This message is sent rather than MAMA_MSG_TYPE_INITIAL for order books.
|
MAMA_MSG_TYPE_BOOK_UPDATE | Order book update.
Sent for order books rather than MAMA_MSG_TYPE_UPDATE.
|
MAMA_MSG_TYPE_BOOK_CLEAR | Order book clear.
All the entries should be removed from the book.
|
MAMA_MSG_TYPE_BOOK_RECAP | Order book recap.
Sent rather than MAMA_MSG_TYPE_RECAP for order books
|
MAMA_MSG_TYPE_BOOK_SNAPSHOT | Order book recap.
Sent rather than MAMA_MSG_TYPE_SNAPSHOT for order books
|
MAMA_MSG_TYPE_NOT_PERMISSIONED | Not permissioned on the feed.
|
MAMA_MSG_TYPE_NOT_FOUND | The symbols was not found but may show up later.
This indicates that the symbol is not currently in the feed handler's cache, but may get added later. The feed handler must be configured with OrderBookNotFoundAction and RecordNotFoundAction set to not_found to enable this behavior.
|
MAMA_MSG_TYPE_END_OF_INITIALS | End of group of initial values.
Marks the last initial value for group subscriptions.
|
MAMA_MSG_TYPE_WOMBAT_REQUEST | A service request.
|
MAMA_MSG_TYPE_WOMBAT_CALC | A calculated result.
|
MAMA_MSG_TYPE_SEC_STATUS | Security status update.
|
MAMA_MSG_TYPE_DDICT_SNAPSHOT | Data dictionary.
This message contains the data dictionary.
|
MAMA_MSG_TYPE_MISC | Miscellaneous
|
MAMA_MSG_TYPE_TIBRV | Returned if an RV error is encountered the MsgStatus will be the tibrv_status.
|
MAMA_MSG_TYPE_FEATURE_SET | MAMA applications do NOT need to process the following message types.
These are all internal messages. The set of features and related params for a particular publisher.
|
MAMA_MSG_TYPE_SYNC_REQUEST | Subscription synchronization request.
|
MAMA_MSG_TYPE_REFRESH | Subscription refresh.
|
MAMA_MSG_TYPE_WORLD_VIEW | World View request.
|
MAMA_MSG_TYPE_NEWS_QUERY | News query.
|
MAMA_MSG_TYPE_NULL | Keep alive message.
|
MAMA_MSG_TYPE_ENTITLEMENTS_REFRESH | |
MAMA_MSG_TYPE_UNKNOWN | Unknown, not covered by any of the above.
|
◆ mamaMsgType_typeForMsg()
Extract the type from the message.
- Parameters
-
◆ mamaMsgType_stringForMsg()
const MAMAExpDLL char* mamaMsgType_stringForMsg |
( |
const mamaMsg |
msg | ) |
|
Extract the type as a string from a message.
- Parameters
-
◆ mamaMsgType_stringForType()
const MAMAExpDLL char* mamaMsgType_stringForType |
( |
mamaMsgType |
type | ) |
|
Convert a mamaMsgType to a string.
- Parameters
-
@ MAMA_MSG_TYPE_ERROR
An error occurred .
Definition: msgtype.h:59
@ MAMA_MSG_TYPE_QUOTE
Quote updates.
Definition: msgtype.h:95
@ MAMA_MSG_TYPE_CANCEL
Trade cancel.
Definition: msgtype.h:56
@ MAMA_MSG_TYPE_NULL
Keep alive message.
Definition: msgtype.h:185
mamaMsgType
Definition: msgtype.h:35
@ MAMA_MSG_TYPE_NOT_FOUND
The symbols was not found but may show up later.
Definition: msgtype.h:135
@ MAMA_MSG_TYPE_CORRECTION
Trade correction.
Definition: msgtype.h:62
@ MAMA_MSG_TYPE_PREOPENING
Pre-opening summary (e.g.
Definition: msgtype.h:92
@ MAMA_MSG_TYPE_BOOK_SNAPSHOT
Order book recap.
Definition: msgtype.h:123
@ MAMA_MSG_TYPE_FEATURE_SET
MAMA applications do NOT need to process the following message types.
Definition: msgtype.h:170
@ MAMA_MSG_TYPE_REFRESH
Subscription refresh.
Definition: msgtype.h:176
@ MAMA_MSG_TYPE_CLOSING
Closing summary.
Definition: msgtype.h:65
@ MAMA_MSG_TYPE_RECAP
Refresh/recap of some/all fields.
Definition: msgtype.h:73
@ MAMA_MSG_TYPE_NOT_PERMISSIONED
Not permissioned on the feed.
Definition: msgtype.h:126
@ MAMA_MSG_TYPE_EXPIRE
Expired option or future.
Definition: msgtype.h:82
@ MAMA_MSG_TYPE_WORLD_VIEW
World View request.
Definition: msgtype.h:179
@ MAMA_MSG_TYPE_DELETE
The feed handler will not send any more updates for the symbol, to the client in question.
Definition: msgtype.h:79
@ MAMA_MSG_TYPE_SNAPSHOT
A snapshot is the same as an initial value; however, the client will not receive any subsequent updat...
Definition: msgtype.h:89
@ MAMA_MSG_TYPE_UPDATE
General update (includes, funds).
Definition: msgtype.h:43
@ MAMA_MSG_TYPE_TRADE
Trade updates.
Definition: msgtype.h:98
@ MAMA_MSG_TYPE_WOMBAT_CALC
A calculated result.
Definition: msgtype.h:147
@ MAMA_MSG_TYPE_BOOK_UPDATE
Order book update.
Definition: msgtype.h:112
@ MAMA_MSG_TYPE_BOOK_RECAP
Order book recap.
Definition: msgtype.h:119
@ MAMA_MSG_TYPE_WOMBAT_REQUEST
A service request.
Definition: msgtype.h:144
@ MAMA_MSG_TYPE_TIBRV
Returned if an RV error is encountered the MsgStatus will be the tibrv_status.
Definition: msgtype.h:162
@ MAMA_MSG_TYPE_ENTITLEMENTS_REFRESH
Definition: msgtype.h:187
@ MAMA_MSG_TYPE_BOOK_INITIAL
Order book initial value.
Definition: msgtype.h:107
@ MAMA_MSG_TYPE_MISC
Miscellaneous
Definition: msgtype.h:156
@ MAMA_MSG_TYPE_UNKNOWN
Unknown, not covered by any of the above.
Definition: msgtype.h:190
@ MAMA_MSG_TYPE_INITIAL
Initial value.
Definition: msgtype.h:53
@ MAMA_MSG_TYPE_NEWS_QUERY
News query.
Definition: msgtype.h:182
@ MAMA_MSG_TYPE_SYNC_REQUEST
Subscription synchronization request.
Definition: msgtype.h:173
@ MAMA_MSG_TYPE_SEC_STATUS
Security status update.
Definition: msgtype.h:150
@ MAMA_MSG_TYPE_ORDER
Order updates.
Definition: msgtype.h:101
@ MAMA_MSG_TYPE_END_OF_INITIALS
End of group of initial values.
Definition: msgtype.h:141
@ MAMA_MSG_TYPE_BOOK_CLEAR
Order book clear.
Definition: msgtype.h:115
@ MAMA_MSG_TYPE_DDICT_SNAPSHOT
Data dictionary.
Definition: msgtype.h:153