| | |
| | | #include <boost/asio.hpp> |
| | | #include <boost/uuid/string_generator.hpp> |
| | | #include <boost/uuid/uuid.hpp> |
| | | #include <functional> |
| | | #include <string> |
| | | |
| | | namespace ip = boost::asio::ip; |
| | | using boost::asio::ip::tcp; |
| | | typedef boost::system::error_code bserror_t; |
| | | |
| | | const boost::uuids::uuid kBHTcpServerTag = boost::uuids::string_generator()("e5bff527-6bf8-ee0d-cd28-b36594acee39"); |
| | | namespace bhome_msg |
| | | { |
| | | class BHMsgHead; |
| | | } |
| | | typedef std::function<void(bhome_msg::BHMsgHead &head, std::string body_content)> ReplyCB; |
| | | |
| | | #endif // end of include guard: TCP_COMMON_8S8O7OV |