Home
last modified time | relevance | path

Searched refs:chat_message (Results 1 – 15 of 15) sorted by relevance

/third_party/boost/doc/html/boost_asio/example/cpp03/chat/
Dchat_client.cpp21 typedef std::deque<chat_message> chat_message_queue;
36 void write(const chat_message& msg) in write()
55 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_connect()
83 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_read_body()
93 void do_write(chat_message msg) in do_write()
135 chat_message read_msg_;
158 char line[chat_message::max_body_length + 1]; in main()
159 while (std::cin.getline(line, chat_message::max_body_length + 1)) in main()
162 chat_message msg; in main()
Dchat_server.cpp27 typedef std::deque<chat_message> chat_message_queue;
35 virtual void deliver(const chat_message& msg) = 0;
58 void deliver(const chat_message& msg) in deliver()
97 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in start()
103 void deliver(const chat_message& msg) in deliver()
138 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_read_body()
171 chat_message read_msg_;
Dposix_chat_client.cpp32 input_buffer_(chat_message::max_body_length) in posix_chat_client()
47 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_connect()
100 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_write_output()
170 chat_message read_msg_;
171 chat_message write_msg_;
Dchat_message.hpp18 class chat_message class
24 chat_message() in chat_message() function in chat_message
/third_party/boost/libs/asio/example/cpp03/chat/
Dchat_client.cpp21 typedef std::deque<chat_message> chat_message_queue;
36 void write(const chat_message& msg) in write()
55 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_connect()
83 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_read_body()
93 void do_write(chat_message msg) in do_write()
135 chat_message read_msg_;
158 char line[chat_message::max_body_length + 1]; in main()
159 while (std::cin.getline(line, chat_message::max_body_length + 1)) in main()
162 chat_message msg; in main()
Dchat_server.cpp27 typedef std::deque<chat_message> chat_message_queue;
35 virtual void deliver(const chat_message& msg) = 0;
58 void deliver(const chat_message& msg) in deliver()
97 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in start()
103 void deliver(const chat_message& msg) in deliver()
138 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_read_body()
171 chat_message read_msg_;
Dposix_chat_client.cpp32 input_buffer_(chat_message::max_body_length) in posix_chat_client()
47 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_connect()
100 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in handle_write_output()
170 chat_message read_msg_;
171 chat_message write_msg_;
Dchat_message.hpp18 class chat_message class
24 chat_message() in chat_message() function in chat_message
/third_party/boost/libs/asio/example/cpp11/chat/
Dchat_client.cpp20 typedef std::deque<chat_message> chat_message_queue;
33 void write(const chat_message& msg) in write()
68 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
126 chat_message read_msg_;
148 char line[chat_message::max_body_length + 1]; in main()
149 while (std::cin.getline(line, chat_message::max_body_length + 1)) in main()
151 chat_message msg; in main()
Dchat_server.cpp25 typedef std::deque<chat_message> chat_message_queue;
33 virtual void deliver(const chat_message& msg) = 0;
55 void deliver(const chat_message& msg) in deliver()
90 void deliver(const chat_message& msg) in deliver()
105 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
163 chat_message read_msg_;
Dchat_message.hpp18 class chat_message class
24 chat_message() in chat_message() function in chat_message
/third_party/boost/doc/html/boost_asio/example/cpp11/chat/
Dchat_client.cpp20 typedef std::deque<chat_message> chat_message_queue;
33 void write(const chat_message& msg) in write()
68 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
126 chat_message read_msg_;
148 char line[chat_message::max_body_length + 1]; in main()
149 while (std::cin.getline(line, chat_message::max_body_length + 1)) in main()
151 chat_message msg; in main()
Dchat_server.cpp25 typedef std::deque<chat_message> chat_message_queue;
33 virtual void deliver(const chat_message& msg) = 0;
55 void deliver(const chat_message& msg) in deliver()
90 void deliver(const chat_message& msg) in deliver()
105 boost::asio::buffer(read_msg_.data(), chat_message::header_length), in do_read_header()
163 chat_message read_msg_;
Dchat_message.hpp18 class chat_message class
24 chat_message() in chat_message() function in chat_message
/third_party/boost/libs/asio/doc/
Dexamples.qbk51 * [@boost_asio/example/cpp03/chat/chat_message.hpp]
359 * [@boost_asio/example/cpp11/chat/chat_message.hpp]