Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
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
{
43
MAMA_MSG_TYPE_UPDATE
= 0,
44
53
MAMA_MSG_TYPE_INITIAL
= 1,
54
56
MAMA_MSG_TYPE_CANCEL
= 2,
57
59
MAMA_MSG_TYPE_ERROR
= 3,
60
62
MAMA_MSG_TYPE_CORRECTION
= 4,
63
65
MAMA_MSG_TYPE_CLOSING
= 5,
66
73
MAMA_MSG_TYPE_RECAP
= 6,
74
79
MAMA_MSG_TYPE_DELETE
= 7,
80
82
MAMA_MSG_TYPE_EXPIRE
= 8,
83
89
MAMA_MSG_TYPE_SNAPSHOT
= 9,
90
92
MAMA_MSG_TYPE_PREOPENING
= 12,
93
95
MAMA_MSG_TYPE_QUOTE
= 13,
96
98
MAMA_MSG_TYPE_TRADE
= 14,
99
101
MAMA_MSG_TYPE_ORDER
= 15,
102
107
MAMA_MSG_TYPE_BOOK_INITIAL
= 16,
108
112
MAMA_MSG_TYPE_BOOK_UPDATE
= 17,
113
115
MAMA_MSG_TYPE_BOOK_CLEAR
= 18,
116
119
MAMA_MSG_TYPE_BOOK_RECAP
= 19,
120
123
MAMA_MSG_TYPE_BOOK_SNAPSHOT
= 20,
124
126
MAMA_MSG_TYPE_NOT_PERMISSIONED
= 21,
127
135
MAMA_MSG_TYPE_NOT_FOUND
= 22,
136
141
MAMA_MSG_TYPE_END_OF_INITIALS
= 23,
142
144
MAMA_MSG_TYPE_WOMBAT_REQUEST
= 24,
145
147
MAMA_MSG_TYPE_WOMBAT_CALC
= 25,
148
150
MAMA_MSG_TYPE_SEC_STATUS
= 26,
151
153
MAMA_MSG_TYPE_DDICT_SNAPSHOT
= 50,
154
156
MAMA_MSG_TYPE_MISC
= 100,
157
162
MAMA_MSG_TYPE_TIBRV
= 101,
163
170
MAMA_MSG_TYPE_FEATURE_SET
= 150,
171
173
MAMA_MSG_TYPE_SYNC_REQUEST
= 170,
174
176
MAMA_MSG_TYPE_REFRESH
= 171,
177
179
MAMA_MSG_TYPE_WORLD_VIEW
= 172,
180
182
MAMA_MSG_TYPE_NEWS_QUERY
= 173,
183
185
MAMA_MSG_TYPE_NULL
= 175,
186
187
MAMA_MSG_TYPE_ENTITLEMENTS_REFRESH
= 176,
188
190
MAMA_MSG_TYPE_UNKNOWN
= 199
191
}
mamaMsgType
;
192
198
MAMAExpDLL
199
extern
mamaMsgType
200
mamaMsgType_typeForMsg
(
const
mamaMsg
msg
);
201
207
MAMAExpDLL
208
extern
const
char
*
209
mamaMsgType_stringForMsg
(
const
mamaMsg
msg
);
210
211
217
MAMAExpDLL
218
extern
const
char
*
219
mamaMsgType_stringForType
(
mamaMsgType
type);
220
221
#if defined(__cplusplus)
222
}
223
#endif
224
225
#endif
/* MamaMsgTypeH__ */
© 2012 Linux Foundation