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 
MAMA_MSG_STATUS_PLATFORM_STATUS
@ MAMA_MSG_STATUS_PLATFORM_STATUS
Error in the underlying messaging API.
Definition: msgstatus.h:64
MAMA_MSG_STATUS_EXPIRED
@ MAMA_MSG_STATUS_EXPIRED
Expired.
Definition: msgstatus.h:50
MAMA_MSG_STATUS_TIMEOUT
@ MAMA_MSG_STATUS_TIMEOUT
A time out occurred.
Definition: msgstatus.h:53
MAMA_MSG_STATUS_BAD_SYMBOL
@ MAMA_MSG_STATUS_BAD_SYMBOL
The symbol does not exist.
Definition: msgstatus.h:47
MAMA_MSG_STATUS_TIBRV_STATUS
@ MAMA_MSG_STATUS_TIBRV_STATUS
Definition: msgstatus.h:61
MAMA_MSG_STATUS_POSSIBLY_STALE
@ MAMA_MSG_STATUS_POSSIBLY_STALE
Messages may have been dropped.
Definition: msgstatus.h:73
mamaMsgStatus_stringForStatus
const MAMAExpDLL char * mamaMsgStatus_stringForStatus(mamaMsgStatus type)
Return a text description of the message's status.
MAMA_MSG_STATUS_OK
@ MAMA_MSG_STATUS_OK
OK.
Definition: msgstatus.h:38
MAMA_MSG_STATUS_NO_SUBSCRIBERS
@ MAMA_MSG_STATUS_NO_SUBSCRIBERS
The feed handler does not have any subscribers to the subject.
Definition: msgstatus.h:44
msg.h
MAMA_MSG_STATUS_DUPLICATE
@ MAMA_MSG_STATUS_DUPLICATE
Message with duplicate sequence number.
Definition: msgstatus.h:85
MAMA_MSG_STATUS_LINE_DOWN
@ MAMA_MSG_STATUS_LINE_DOWN
The feed handler has detected a Line Down.
Definition: msgstatus.h:41
MAMA_MSG_STATUS_STALE
@ MAMA_MSG_STATUS_STALE
The subject is stale.
Definition: msgstatus.h:59
MAMA_MSG_STATUS_NOT_PERMISSIONED
@ MAMA_MSG_STATUS_NOT_PERMISSIONED
Not permissioned for the subject.
Definition: msgstatus.h:76
MAMA_MSG_STATUS_TOPIC_CHANGE
@ MAMA_MSG_STATUS_TOPIC_CHANGE
Topic renamed.
Definition: msgstatus.h:79
MAMA_MSG_STATUS_UNKNOWN
@ MAMA_MSG_STATUS_UNKNOWN
Unknown status.
Definition: msgstatus.h:88
MAMA_MSG_STATUS_NOT_FOUND
@ MAMA_MSG_STATUS_NOT_FOUND
Not found.
Definition: msgstatus.h:70
MAMA_MSG_STATUS_NOT_ENTITLED
@ MAMA_MSG_STATUS_NOT_ENTITLED
Not entitled to a subject.
Definition: msgstatus.h:67
mamaMsgStatus_
mamaMsgStatus_
Utility class (enum) for interpreting message status.
Definition: msgstatus.h:35
mamaMsgStatus_statusForMsg
MAMAExpDLL mamaMsgStatus mamaMsgStatus_statusForMsg(const mamaMsg msg)
Extract the status from the supplied message.
mamaMsg
struct mamaMsgImpl_ * mamaMsg
Opaque definitions for all major MAMA data types.
Definition: types.h:95
MAMA_MSG_STATUS_BANDWIDTH_EXCEEDED
@ MAMA_MSG_STATUS_BANDWIDTH_EXCEEDED
Bandwidth exceeded.
Definition: msgstatus.h:82
mamaMsgStatus_stringForMsg
const MAMAExpDLL char * mamaMsgStatus_stringForMsg(const mamaMsg msg)
Return the status as a string given a message.
MAMA_MSG_STATUS_MISC
@ MAMA_MSG_STATUS_MISC
Miscellaneous status.
Definition: msgstatus.h:56
mamaMsgStatus
enum mamaMsgStatus_ mamaMsgStatus
Utility class (enum) for interpreting message status.


© 2012 Linux Foundation