Home
last modified time | relevance | path

Searched refs:read_msg_ (Results 1 – 10 of 10) sorted by relevance

/third_party/boost/doc/html/boost_asio/example/cpp03/chat/
Dchat_client.cpp55 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_connect()
63 if (!error && read_msg_.decode_header()) in handle_read_header()
66 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in handle_read_header()
80 std::cout.write(read_msg_.body(), read_msg_.body_length()); in handle_read_body()
83 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_read_body()
135 chat_message read_msg_; member in chat_client
Dposix_chat_client.cpp47 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_connect()
61 if (!error && read_msg_.decode_header()) in handle_read_header()
65 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in handle_read_header()
82 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in handle_read_body()
100 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_write_output()
170 chat_message read_msg_; member in posix_chat_client
Dchat_server.cpp97 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in start()
119 if (!error && read_msg_.decode_header()) in handle_read_header()
122 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in handle_read_header()
136 room_.deliver(read_msg_); in handle_read_body()
138 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_read_body()
171 chat_message read_msg_; member in chat_session
/third_party/boost/libs/asio/example/cpp03/chat/
Dchat_client.cpp55 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_connect()
63 if (!error && read_msg_.decode_header()) in handle_read_header()
66 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in handle_read_header()
80 std::cout.write(read_msg_.body(), read_msg_.body_length()); in handle_read_body()
83 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_read_body()
135 chat_message read_msg_; member in chat_client
Dposix_chat_client.cpp47 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_connect()
61 if (!error && read_msg_.decode_header()) in handle_read_header()
65 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in handle_read_header()
82 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in handle_read_body()
100 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_write_output()
170 chat_message read_msg_; member in posix_chat_client
Dchat_server.cpp97 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in start()
119 if (!error && read_msg_.decode_header()) in handle_read_header()
122 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in handle_read_header()
136 room_.deliver(read_msg_); in handle_read_body()
138 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_read_body()
171 chat_message read_msg_; member in chat_session
/third_party/boost/libs/asio/example/cpp11/chat/
Dchat_client.cpp68 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
71 if (!ec && read_msg_.decode_header()) in do_read_header()
85 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in do_read_body()
90 std::cout.write(read_msg_.body(), read_msg_.body_length()); in do_read_body()
126 chat_message read_msg_; member in chat_client
Dchat_server.cpp105 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
108 if (!ec && read_msg_.decode_header()) in do_read_header()
123 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in do_read_body()
128 room_.deliver(read_msg_); in do_read_body()
163 chat_message read_msg_; member in chat_session
/third_party/boost/doc/html/boost_asio/example/cpp11/chat/
Dchat_client.cpp68 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
71 if (!ec && read_msg_.decode_header()) in do_read_header()
85 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in do_read_body()
90 std::cout.write(read_msg_.body(), read_msg_.body_length()); in do_read_body()
126 chat_message read_msg_; member in chat_client
Dchat_server.cpp105 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
108 if (!ec && read_msg_.decode_header()) in do_read_header()
123 boost::asio::buffer(read_msg_.body(), read_msg_.body_length()), in do_read_body()
128 room_.deliver(read_msg_); in do_read_body()
163 chat_message read_msg_; member in chat_session