1 /*-----------------------------------------------------------------------------
2 Name: MethodName.h
3 Project: xmlBlaster.org
4 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
5 Comment: Method name constants
6 -----------------------------------------------------------------------------*/
7 #ifndef _UTIL_METHODNAME_H
8 #define _UTIL_METHODNAME_H
9
10 #include <util/xmlBlasterDef.h>
11 #include <string>
12
13 namespace org { namespace xmlBlaster {
14 namespace util { namespace MethodName {
15
16 /**
17 * Holding the constant names of the supported remote methods.
18 * <p />
19 * @see xmlBlaster/src/java/org/xmlBlaster/util/def/MethodName.java
20 */
21 //class Dll_Export MethodName { // Using namespace instead of class here
22
23 extern Dll_Export const std::string CONNECT;
24 extern Dll_Export const std::string DISCONNECT;
25 extern Dll_Export const std::string GET;
26 extern Dll_Export const std::string ERASE;
27 extern Dll_Export const std::string PUBLISH;
28 extern Dll_Export const std::string PUBLISH_ARR;
29 extern Dll_Export const std::string PUBLISH_ONEWAY;
30 extern Dll_Export const std::string SUBSCRIBE;
31 extern Dll_Export const std::string UNSUBSCRIBE;
32 extern Dll_Export const std::string UPDATE;
33 extern Dll_Export const std::string UPDATE_ONEWAY;
34 extern Dll_Export const std::string PING;
35 extern Dll_Export const std::string DUMMY;
36 extern Dll_Export const std::string UNKNOWN;
37
38 //}; // class MethodName
39
40
41 }}}} // namespace
42
43 #endif
syntax highlighted by Code2HTML, v. 0.9.1