| 49 | } |
| 50 | private: |
| 51 | bool ms_dispatch(Message *m) { |
| 52 | |
| 53 | //cerr << "got ping from " << m->get_source() << std::endl; |
| 54 | dout(0) << "got ping from " << m->get_source() << dendl; |
| 55 | test_lock.lock(); |
| 56 | ++received; |
| 57 | cond.notify_all(); |
| 58 | test_lock.unlock(); |
| 59 | |
| 60 | m->put(); |
| 61 | return true; |
| 62 | } |
| 63 | |
| 64 | bool ms_handle_reset(Connection *con) { return false; } |
| 65 | void ms_handle_remote_reset(Connection *con) {} |
nothing calls this directly
no test coverage detected