Searched refs:conn_hnr_ (Results 1 – 2 of 2) sorted by relevance
50 : conn_hnr_(h), faddr_(faddr) { in AcceptHandler()53 ev_io_start(conn_hnr_->get_loop(), &wev_); in AcceptHandler()57 ev_io_stop(conn_hnr_->get_loop(), &wev_); in ~AcceptHandler()90 conn_hnr_->sleep_acceptor(get_config()->conn.listener.timeout.sleep); in accept_connection()102 conn_hnr_->handle_connection(cfd, &sockaddr.sa, addrlen, faddr_); in accept_connection()105 void AcceptHandler::enable() { ev_io_start(conn_hnr_->get_loop(), &wev_); } in enable()107 void AcceptHandler::disable() { ev_io_stop(conn_hnr_->get_loop(), &wev_); } in disable()
48 ConnectionHandler *conn_hnr_; variable