#ifndef _D_MOCK_DHT_MESSAGE_CALLBACK_H_ #define _D_MOCK_DHT_MESSAGE_CALLBACK_H_ #include "DHTMessageCallback.h" namespace aria2 { class MockDHTMessageCallback:public DHTMessageCallback { public: MockDHTMessageCallback() {} virtual ~MockDHTMessageCallback() {} virtual void onReceived(const SharedHandle& message) {} virtual void onTimeout(const SharedHandle& remoteNode) {} }; } // namespace aria2 #endif // _D_MOCK_DHT_MESSAGE_CALLBACK_H_