24 #include <boost/asio.hpp> 
   25 #include <boost/asio/basic_streambuf.hpp> 
   26 #include <boost/date_time/posix_time/posix_time.hpp> 
   32 using boost::asio::ip::tcp;
 
   44       void handle_connect (
const boost::system::error_code& 
error);
 
   45       void handle_write   (
const boost::system::error_code& 
error);
 
   46       void handle_read    (
const boost::system::error_code& 
error);
 
   47       void handle_timeout (
const boost::system::error_code& 
error);
 
   50       boost::asio::io_service     io_service_;
 
   52       tcp::resolver::iterator     endpoint_iterator_;
 
   56       boost::asio::deadline_timer timeout_timer_;
 
   57       boost::asio::streambuf      incomming_stream_buffer_;
 
   63 #endif //_CLIENT_CLIENT_HPP_ 
boost::shared_ptr< kisscpp::client > SharedClient
Definition: client.hpp:61
 
boost::property_tree::ptree BoostPtree
Definition: boost_ptree.hpp:31
 
Definition: client.hpp:36
 
LogStream & error(LogStream &s, const bool permanent=false)
Definition: logstream.hpp:339
 
client(BoostPtree &_request, BoostPtree &_response, int timeout=10)
Definition: client.cpp:24
 
~client()
Definition: client.hpp:41