00001 #ifndef ISPN_HOTROD_VERSION_H
00002 #define ISPN_HOTROD_VERSION_H
00003
00004 #include "infinispan/hotrod/ImportExport.h"
00005 #include <string>
00006
00007 namespace infinispan {
00008 namespace hotrod {
00009
00014 class Version {
00015 private:
00016 HR_EXTERN static const std::string PROTOCOL_VERSION;
00017 HR_EXTERN static const std::string VERSION;
00018
00019 public:
00020
00026 static const std::string& getProtocolVersion() { return PROTOCOL_VERSION; }
00027
00033 static const std::string& getVersion() { return VERSION; }
00034 };
00035
00036 }}
00037
00038 #endif // ISPN_HOTROD_VERSIONEDVALUE_H