OpenMAMA
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
statscollector.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 MamaStatsCollectorH__
23 #define MamaStatsCollectorH__
24 
25 #include "mama/status.h"
26 
27 #if defined(__cplusplus)
28 extern "C" {
29 #endif
30 
32 {
38 
44 MAMAExpDLL
45 extern mama_status
46 mamaStatsCollector_create (mamaStatsCollector* statsCollector, mamaStatsCollectorType type, const char* name, const char* middleware);
47 
53 MAMAExpDLL
54 extern mama_status
56 
63 MAMAExpDLL
64 extern mama_status
66 
74 MAMAExpDLL
75 extern mama_status
77 
85 MAMAExpDLL
86 extern mama_status
87 mamaStatsCollector_setName (mamaStatsCollector statsCollector, const char* name);
88 
96 MAMAExpDLL
97 extern mama_status
98 mamaStatsCollector_setPublish (mamaStatsCollector statsCollector, int publish);
99 
105 MAMAExpDLL
106 extern int
108 
116 MAMAExpDLL
117 extern mama_status
118 mamaStatsCollector_setLog (mamaStatsCollector statsCollector, int log);
119 
125 MAMAExpDLL
126 extern int
128 
134 MAMAExpDLL
135 extern const char*
137 
138 #if defined(__cplusplus)
139 }
140 #endif
141 
142 #endif /* MamaStatsCollectorH__ */


© 2012 Linux Foundation