include/infinispan/hotrod/ServerConfiguration.h

Go to the documentation of this file.
00001 /*
00002  * ServerConfiguration.h
00003  *
00004  *  Created on: Jul 10, 2013
00005  *      Author: samuele
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 /* SERVERCONFIGURATION_H_ */

Generated on 26 Mar 2014 for InfinispanHotRodC++Client by  doxygen 1.4.7