00001 #ifndef _ots_SupervisorInfo_h_
00002 #define _ots_SupervisorInfo_h_
00003
00004 #include <string>
00005
00006 namespace ots
00007 {
00008
00009 class SupervisorInfo
00010 {
00011 public:
00012 SupervisorInfo (void) : status_("Unknown"), URL_("")
00013 {
00014 ;
00015 }
00016 ~SupervisorInfo(void)
00017 {
00018 ;
00019 }
00020
00021
00022 std::string getStatus(void) const
00023 {
00024 return status_;
00025 }
00026
00027
00028 void setStatus(std::string status)
00029 {
00030 status_=status;
00031 }
00032
00033 private:
00034 std::string status_;
00035 std::string URL_;
00036 int port_;
00037 std::string fullURL_;
00038 };
00039
00040 }
00041
00042 #endif