OpenMAMA
msgtype.h
Go to the documentation of this file.
1 /* $Id$
2  *
3  * OpenMAMA: The open middleware agnostic messaging API
4  * Copyright (C) 2011 NYSE Technologies, Inc.
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19  * 02110-1301 USA
20  */
21 
22 #ifndef MamaMsgTypeH__
23 #define MamaMsgTypeH__
24 
25 /*
26  * This file provides MAMA message type information.
27  */
28 
29 #include "mama/types.h"
30 
31 #if defined(__cplusplus)
32 extern "C" {
33 #endif
34 
35 typedef enum mamaMsgType
36 {
44 
54 
57 
60 
63 
66 
74 
80 
83 
90 
93 
96 
99 
102 
108 
113 
116 
120 
124 
127 
136 
142 
145 
148 
151 
154 
157 
163 
171 
174 
177 
180 
183 
186 
188 
191 } mamaMsgType;
192 
198 MAMAExpDLL
199 extern mamaMsgType
200 mamaMsgType_typeForMsg (const mamaMsg msg);
201 
207 MAMAExpDLL
208 extern const char*
210 
211 
217 MAMAExpDLL
218 extern const char*
220 
221 #if defined(__cplusplus)
222 }
223 #endif
224 
225 #endif /* MamaMsgTypeH__ */
MAMA_MSG_TYPE_ERROR
@ MAMA_MSG_TYPE_ERROR
An error occurred .
Definition: msgtype.h:59
MAMA_MSG_TYPE_QUOTE
@ MAMA_MSG_TYPE_QUOTE
Quote updates.
Definition: msgtype.h:95
MAMA_MSG_TYPE_CANCEL
@ MAMA_MSG_TYPE_CANCEL
Trade cancel.
Definition: msgtype.h:56
MAMA_MSG_TYPE_NULL
@ MAMA_MSG_TYPE_NULL
Keep alive message.
Definition: msgtype.h:185
mamaMsgType
mamaMsgType
Definition: msgtype.h:35
types.h
MAMA_MSG_TYPE_NOT_FOUND
@ MAMA_MSG_TYPE_NOT_FOUND
The symbols was not found but may show up later.
Definition: msgtype.h:135
MAMA_MSG_TYPE_CORRECTION
@ MAMA_MSG_TYPE_CORRECTION
Trade correction.
Definition: msgtype.h:62
MAMA_MSG_TYPE_PREOPENING
@ MAMA_MSG_TYPE_PREOPENING
Pre-opening summary (e.g.
Definition: msgtype.h:92
MAMA_MSG_TYPE_BOOK_SNAPSHOT
@ MAMA_MSG_TYPE_BOOK_SNAPSHOT
Order book recap.
Definition: msgtype.h:123
MAMA_MSG_TYPE_FEATURE_SET
@ MAMA_MSG_TYPE_FEATURE_SET
MAMA applications do NOT need to process the following message types.
Definition: msgtype.h:170
MAMA_MSG_TYPE_REFRESH
@ MAMA_MSG_TYPE_REFRESH
Subscription refresh.
Definition: msgtype.h:176
MAMA_MSG_TYPE_CLOSING
@ MAMA_MSG_TYPE_CLOSING
Closing summary.
Definition: msgtype.h:65
MAMA_MSG_TYPE_RECAP
@ MAMA_MSG_TYPE_RECAP
Refresh/recap of some/all fields.
Definition: msgtype.h:73
mamaMsgType_stringForMsg
const MAMAExpDLL char * mamaMsgType_stringForMsg(const mamaMsg msg)
Extract the type as a string from a message.
MAMA_MSG_TYPE_NOT_PERMISSIONED
@ MAMA_MSG_TYPE_NOT_PERMISSIONED
Not permissioned on the feed.
Definition: msgtype.h:126
MAMA_MSG_TYPE_EXPIRE
@ MAMA_MSG_TYPE_EXPIRE
Expired option or future.
Definition: msgtype.h:82
mamaMsgType_typeForMsg
MAMAExpDLL mamaMsgType mamaMsgType_typeForMsg(const mamaMsg msg)
Extract the type from the message.
MAMA_MSG_TYPE_WORLD_VIEW
@ MAMA_MSG_TYPE_WORLD_VIEW
World View request.
Definition: msgtype.h:179
MAMA_MSG_TYPE_DELETE
@ 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
@ 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
@ MAMA_MSG_TYPE_UPDATE
General update (includes, funds).
Definition: msgtype.h:43
mamaMsgType_stringForType
const MAMAExpDLL char * mamaMsgType_stringForType(mamaMsgType type)
Convert a mamaMsgType to a string.
MAMA_MSG_TYPE_TRADE
@ MAMA_MSG_TYPE_TRADE
Trade updates.
Definition: msgtype.h:98
MAMA_MSG_TYPE_WOMBAT_CALC
@ MAMA_MSG_TYPE_WOMBAT_CALC
A calculated result.
Definition: msgtype.h:147
MAMA_MSG_TYPE_BOOK_UPDATE
@ MAMA_MSG_TYPE_BOOK_UPDATE
Order book update.
Definition: msgtype.h:112
mamaMsg
struct mamaMsgImpl_ * mamaMsg
Opaque definitions for all major MAMA data types.
Definition: types.h:95
MAMA_MSG_TYPE_BOOK_RECAP
@ MAMA_MSG_TYPE_BOOK_RECAP
Order book recap.
Definition: msgtype.h:119
MAMA_MSG_TYPE_WOMBAT_REQUEST
@ MAMA_MSG_TYPE_WOMBAT_REQUEST
A service request.
Definition: msgtype.h:144
MAMA_MSG_TYPE_TIBRV
@ 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
@ MAMA_MSG_TYPE_ENTITLEMENTS_REFRESH
Definition: msgtype.h:187
MAMA_MSG_TYPE_BOOK_INITIAL
@ MAMA_MSG_TYPE_BOOK_INITIAL
Order book initial value.
Definition: msgtype.h:107
MAMA_MSG_TYPE_MISC
@ MAMA_MSG_TYPE_MISC
Miscellaneous
Definition: msgtype.h:156
MAMA_MSG_TYPE_UNKNOWN
@ MAMA_MSG_TYPE_UNKNOWN
Unknown, not covered by any of the above.
Definition: msgtype.h:190
MAMA_MSG_TYPE_INITIAL
@ MAMA_MSG_TYPE_INITIAL
Initial value.
Definition: msgtype.h:53
MAMA_MSG_TYPE_NEWS_QUERY
@ MAMA_MSG_TYPE_NEWS_QUERY
News query.
Definition: msgtype.h:182
MAMA_MSG_TYPE_SYNC_REQUEST
@ MAMA_MSG_TYPE_SYNC_REQUEST
Subscription synchronization request.
Definition: msgtype.h:173
MAMA_MSG_TYPE_SEC_STATUS
@ MAMA_MSG_TYPE_SEC_STATUS
Security status update.
Definition: msgtype.h:150
MAMA_MSG_TYPE_ORDER
@ MAMA_MSG_TYPE_ORDER
Order updates.
Definition: msgtype.h:101
MAMA_MSG_TYPE_END_OF_INITIALS
@ MAMA_MSG_TYPE_END_OF_INITIALS
End of group of initial values.
Definition: msgtype.h:141
MAMA_MSG_TYPE_BOOK_CLEAR
@ MAMA_MSG_TYPE_BOOK_CLEAR
Order book clear.
Definition: msgtype.h:115
MAMA_MSG_TYPE_DDICT_SNAPSHOT
@ MAMA_MSG_TYPE_DDICT_SNAPSHOT
Data dictionary.
Definition: msgtype.h:153


© 2012 Linux Foundation