OpenMAMA
subscmsgtype.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 MAMA_SUBSC_MSG_TYPE_H__
23 #define MAMA_SUBSC_MSG_TYPE_H__
24 
25 /*
26  * This file provides subscription management details for MAMA.
27  */
28 
29 #if defined(__cplusplus)
30 extern "C" {
31 #endif
32 
33 typedef enum mamaSubscMsgType
34 {
42  MAMA_SUBSC_DQ_SUBSCRIBER = 7, /* Subscriber knows it lost data itself */
43  MAMA_SUBSC_DQ_PUBLISHER = 8, /* Subscriber knows publisher lost data */
44  MAMA_SUBSC_DQ_NETWORK = 9, /* Subscriber knows network lost data */
45  MAMA_SUBSC_DQ_UNKNOWN = 10, /* Subscriber lost data but not know why */
47  MAMA_SUBSC_DQ_GROUP_SUBSCRIBER = 12 /* Subscriber knows it lost data itself */
49 
50 MAMAExpDLL
51 extern const char* MamaSubscMsgTypeStr (mamaSubscMsgType msgType);
52 
53 #define MAMA_SUBSCROOT "_MD"
54 #define MAMA_SUBSCMANROOT "_MDSM"
55 #define MAMA_DATADICTROOT "_MDDD"
56 #define MAMA_WORLDVIEWROOT "_MDWV"
57 #define MAMA_WORLDVIEWREQUEST "_MDWV.WORLDVIEW_REQUEST"
58 #define MAMA_WORLDVIEWUPDATE "_MDWV.WORLDVIEW_UPDATE"
59 #define MAMA_TIMEOUT (10.0)
60 #define MAMA_RETRIES (2)
61 #define MAMA_REFRESHINTERVALMIN (5.0)
62 #define MAMA_REFRESHINTERVALRAND (55.0)
63 
64 #if defined(__cplusplus)
65 }
66 #endif
67 
68 #endif /* MAMA_SUBSC_MSG_TYPE_H__ */
69 
Definition: subscmsgtype.h:41
Definition: subscmsgtype.h:38
Definition: subscmsgtype.h:40
MAMAExpDLL const char * MamaSubscMsgTypeStr(mamaSubscMsgType msgType)
Definition: subscmsgtype.h:36
Definition: subscmsgtype.h:39
Definition: subscmsgtype.h:46
Definition: subscmsgtype.h:37
mamaSubscMsgType
Definition: subscmsgtype.h:33
Definition: subscmsgtype.h:43
Definition: subscmsgtype.h:47
Definition: subscmsgtype.h:44
Definition: subscmsgtype.h:35
Definition: subscmsgtype.h:42
Definition: subscmsgtype.h:45


© 2012 Linux Foundation