OpenMAMA
msgstatus.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 MamaMsgStatusH__
23 #define MamaMsgStatusH__
24 
25 #if defined(__cplusplus)
26 extern "C" {
27 #endif
28 
29 #include <mama/msg.h>
30 
35 typedef enum mamaMsgStatus_
36 {
39 
42 
45 
48 
51 
54 
57 
60 
62 
65 
68 
71 
74 
77 
80 
83 
86 
89 
91 
97 MAMAExpDLL
100 
106 MAMAExpDLL
107 const char*
109 
115 MAMAExpDLL
116 const char*
118 
119 #if defined(__cplusplus)
120 }
121 #endif
122 
123 #endif /* MAMA_MSG_STATUS_H__ */
124 
Message with duplicate sequence number.
Definition: msgstatus.h:85
The feed handler does not have any subscribers to the subject.
Definition: msgstatus.h:44
A time out occurred.
Definition: msgstatus.h:53
Error in the underlying messaging API.
Definition: msgstatus.h:64
Expired.
Definition: msgstatus.h:50
MAMAExpDLL const char * mamaMsgStatus_stringForStatus(mamaMsgStatus type)
Return a text description of the message&#39;s status.
Not permissioned for the subject.
Definition: msgstatus.h:76
Definition: msgstatus.h:61
OK.
Definition: msgstatus.h:38
The symbol does not exist.
Definition: msgstatus.h:47
The feed handler has detected a Line Down.
Definition: msgstatus.h:41
The subject is stale.
Definition: msgstatus.h:59
Messages may have been dropped.
Definition: msgstatus.h:73
MAMAExpDLL mamaMsgStatus mamaMsgStatus_statusForMsg(const mamaMsg msg)
Extract the status from the supplied message.
Topic renamed.
Definition: msgstatus.h:79
enum mamaMsgStatus_ mamaMsgStatus
Utility class (enum) for interpreting message status.
Not found.
Definition: msgstatus.h:70
struct mamaMsgImpl_ * mamaMsg
Opaque definitions for all major MAMA data types.
Definition: types.h:95
Bandwidth exceeded.
Definition: msgstatus.h:82
mamaMsgStatus_
Utility class (enum) for interpreting message status.
Definition: msgstatus.h:35
Not entitled to a subject.
Definition: msgstatus.h:67
MAMAExpDLL const char * mamaMsgStatus_stringForMsg(const mamaMsg msg)
Return the status as a string given a message.
Unknown status.
Definition: msgstatus.h:88
Miscellaneous status.
Definition: msgstatus.h:56


© 2012 Linux Foundation