Go to the documentation of this file.00001
00011 #ifndef SPATIAL_TEMPORAL_LEARNING_WORLDLIB_REMOTE_CLIENT_H_
00012 #define SPATIAL_TEMPORAL_LEARNING_WORLDLIB_REMOTE_CLIENT_H_
00013
00014
00015 #include <stdint.h>
00016 #include <string>
00017
00018 namespace rail
00019 {
00020 namespace spatial_temporal_learning
00021 {
00022 namespace worldlib
00023 {
00024 namespace remote
00025 {
00026
00033 class Client
00034 {
00035 public:
00037 static const unsigned int DEFAULT_PORT = 80;
00038
00047 Client(const std::string &host = "localhost", const uint16_t port = DEFAULT_PORT);
00048
00056 const std::string &getHost() const;
00057
00065 uint16_t getPort() const;
00066
00067 private:
00069 const std::string host_;
00071 uint16_t port_;
00072 };
00073
00074 }
00075 }
00076 }
00077 }
00078
00079 #endif