| 47 | |
| 48 | template<typename Protocol> |
| 49 | void server_endpoint_impl<Protocol>::restart(bool _force) { |
| 50 | (void)_force; |
| 51 | |
| 52 | boost::system::error_code its_error; |
| 53 | this->stop(false); |
| 54 | this->init(server_endpoint_impl<Protocol>::local_, its_error); |
| 55 | this->start(); |
| 56 | } |
| 57 | |
| 58 | template<typename Protocol> |
| 59 | bool server_endpoint_impl<Protocol>::is_closed() const { |