// Host Update // // Douglas Thrift // // $Id$ #ifndef _Host_h_ #define _Host_h_ #include "HostUpdate.hpp" #ifndef _WIN32 #include #include #include #else #include #include #endif class Host { private: string host; string name; struct sockaddr* address; public: Host(); ~Host(); void setHost(const string& host) { this->host = host; } void setName(const string& name); void setAddress(const string& address); string getHost() const { return host; } string getName() const { return name; } string getAddress() const; }; #endif // _Host_h_