OpenMAMA
servicelevel.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 MamaServiceLevelH_
23 #define MamaServiceLevelH_
24 
25 /*
26  * This file provides MAMA subscription service level information.
27  */
28 
29 #include "mama/types.h"
30 
31 #if defined(__cplusplus)
32 extern "C" {
33 #endif
34 
46 typedef enum mamaServiceLevel_
47 {
52 
57 
67 
72 
77 
79 
80 
86 MAMAExpDLL
87 extern mamaServiceLevel
89 
95 MAMAExpDLL
96 extern const char*
98 
104 MAMAExpDLL
105 extern const char*
107 
108 #if defined(__cplusplus)
109 }
110 #endif
111 
112 #endif /* MamaServiceLevelH_ */
types.h
MAMA_SERVICE_LEVEL_REAL_TIME
@ MAMA_SERVICE_LEVEL_REAL_TIME
Real time updates.
Definition: servicelevel.h:51
mamaServiceLevel_getFromMsg
MAMAExpDLL mamaServiceLevel mamaServiceLevel_getFromMsg(const mamaMsg msg)
Extract the subscription service level from a message.
mamaServiceLevel_getFromMsgAsString
const MAMAExpDLL char * mamaServiceLevel_getFromMsgAsString(const mamaMsg msg)
Extract the subscription service level as a string from a message.
MAMA_SERVICE_LEVEL_SNAPSHOT
@ MAMA_SERVICE_LEVEL_SNAPSHOT
Single snapshot image only.
Definition: servicelevel.h:56
mamaServiceLevel_
mamaServiceLevel_
mamaServiceLevel is an enumeration that represents the service level (a) requested by a subscribing a...
Definition: servicelevel.h:46
mamaServiceLevel
enum mamaServiceLevel_ mamaServiceLevel
mamaServiceLevel is an enumeration that represents the service level (a) requested by a subscribing a...
mamaServiceLevel_toString
const MAMAExpDLL char * mamaServiceLevel_toString(mamaServiceLevel type)
Convert a mamaServiceLevel to a string.
MAMA_SERVICE_LEVEL_CONFLATED
@ MAMA_SERVICE_LEVEL_CONFLATED
Conflated updates (future).
Definition: servicelevel.h:71
MAMA_SERVICE_LEVEL_UNKNOWN
@ MAMA_SERVICE_LEVEL_UNKNOWN
Unknown level.
Definition: servicelevel.h:76
mamaMsg
struct mamaMsgImpl_ * mamaMsg
Opaque definitions for all major MAMA data types.
Definition: types.h:95
MAMA_SERVICE_LEVEL_REPEATING_SNAPSHOT
@ MAMA_SERVICE_LEVEL_REPEATING_SNAPSHOT
Repeating snapshot image.
Definition: servicelevel.h:66


© 2012 Linux Foundation