2 * @brief The abstract IPService interface. This class represents all IP services.
6 * @copyright Intra2net AG
15 #include <boost/shared_ptr.hpp>
23 typedef boost::shared_ptr<IPService> Ptr;
25 virtual ~IPService() {};
27 virtual void connect(const std::string& _hostname, const std::string& _port) = 0;
29 virtual std::string read_from_socket() = 0;
31 virtual void write_to_socket(const std::string& data) = 0;
33 virtual void close() = 0;