17 #ifndef SCIP2_PROTOCOL_H
18 #define SCIP2_PROTOCOL_H
24 #include <boost/asio.hpp>
25 #include <boost/bind/bind.hpp>
40 boost::asio::streambuf& buf,
41 const boost::posix_time::ptime& time_read)
43 std::istream stream(&buf);
45 std::string echo_back;
46 if (!std::getline(stream, echo_back))
58 if (!std::getline(stream, status))
74 using Ptr = std::shared_ptr<Protocol>;
84 const std::string& command,
90 template <
typename TResponse>
99 #endif // SCIP2_PROTOCOL_H