Searched refs:room_ (Results 1 – 6 of 6) sorted by relevance
80 room_(room) in chat_session()86 room_.join(shared_from_this()); in start()114 room_.leave(shared_from_this()); in do_read_header()128 room_.deliver(read_msg_); in do_read_body()133 room_.leave(shared_from_this()); in do_read_body()156 room_.leave(shared_from_this()); in do_write()162 chat_room& room_; member in chat_session187 std::make_shared<chat_session>(std::move(socket), room_)->start(); in do_accept()195 chat_room room_; member in chat_server
84 room_(room) in chat_session()95 room_.join(shared_from_this()); in start()128 room_.leave(shared_from_this()); in handle_read_header()136 room_.deliver(read_msg_); in handle_read_body()144 room_.leave(shared_from_this()); in handle_read_body()164 room_.leave(shared_from_this()); in handle_write()170 chat_room& room_; member in chat_session192 chat_session_ptr new_session(new chat_session(io_context_, room_)); in start_accept()212 chat_room room_; member in chat_server
92 room_(room) in chat_session()99 room_.join(shared_from_this()); in start()126 room_.deliver(read_msg.substr(0, n)); in reader()163 room_.leave(shared_from_this()); in stop()170 chat_room& room_; member in chat_session