aria2/test/MockDHTMessageCallback.h
Tatsuhiro Tsujikawa 2b458da480 2010-10-31 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Made #include guard consistent for c++ header files.
2010-10-31 07:23:53 +00:00

27 lines
660 B
C++

#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 visit(const DHTAnnouncePeerReplyMessage* message) {}
virtual void visit(const DHTFindNodeReplyMessage* message) {}
virtual void visit(const DHTGetPeersReplyMessage* message) {}
virtual void visit(const DHTPingReplyMessage* message) {}
virtual void onTimeout(const SharedHandle<DHTNode>& remoteNode) {}
};
} // namespace aria2
#endif // D_MOCK_DHT_MESSAGE_CALLBACK_H