mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 14:07:37 +03:00
2010-06-20 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Removed BDE and bencode
This commit is contained in:
parent
8ba97188ce
commit
cb4e25e4b4
81 changed files with 1661 additions and 2848 deletions
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "DHTNode.h"
|
||||
#include "Peer.h"
|
||||
#include "BDE.h"
|
||||
|
||||
namespace aria2 {
|
||||
|
||||
|
@ -77,7 +76,7 @@ public:
|
|||
|
||||
virtual std::string toString() const { return "MockDHTMessage"; }
|
||||
|
||||
virtual BDE getArgument() { return BDE::dict(); }
|
||||
virtual SharedHandle<Dict> getArgument() { return Dict::g(); }
|
||||
};
|
||||
|
||||
class MockDHTResponseMessage:public DHTResponseMessage {
|
||||
|
@ -109,7 +108,7 @@ public:
|
|||
|
||||
virtual std::string toString() const { return "MockDHTMessage"; }
|
||||
|
||||
virtual BDE getResponse() { return BDE::dict(); }
|
||||
virtual SharedHandle<Dict> getResponse() { return Dict::g(); }
|
||||
|
||||
virtual void accept(DHTMessageCallback* callback) {}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue