initial commit
[raggin.git] / src / connection.hpp
blob9281423f5a5ac39b1a68d48b8ae4bf523ae4598d
1 #ifndef connection_hpp_INCLUDED
2 #define connection_hpp_INCLUDED
4 #include <boost/asio.hpp>
5 #include <boost/shared_ptr.hpp>
6 #include "socket.hpp"
9 namespace raggin
11 class connection
13 public:
14 explicit connection(boost::asio::io_service& io_service);
15 //explicit connection(socket_ptr socket_ptr);
17 socket_ptr socket();
19 private:
20 socket_ptr socket_ptr_;
23 typedef boost::shared_ptr<connection> connection_ptr;
26 #endif