00001
00002
00003
00004
00005
00006
00007
00008 #ifndef SERVERCONFIGURATION_H_
00009 #define SERVERCONFIGURATION_H_
00010
00011 #include <string>
00012 #include "infinispan/hotrod/ImportExport.h"
00013
00014 namespace infinispan {
00015 namespace hotrod {
00016
00022 class HR_EXTERN ServerConfiguration
00023 {
00024 public:
00025
00026 ServerConfiguration(std::string host,
00027 int port);
00028
00034 const std::string& getHost() const;
00035
00041 const int& getPort() const;
00042
00043 private:
00044 std::string host;
00045 int port;
00046 };
00047
00048 }
00049 }
00050 #endif