mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 14:07:37 +03:00
2009-04-21 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten event dispatch in BtMessage. Removed BtEventListener, BtEvent. * src/AbstractBtEventListener.h: Removed. * src/AbstractBtMessage.cc * src/AbstractBtMessage.h * src/BtAbortOutstandingRequestEvent.h * src/BtCancelSendingPieceEvent.h * src/BtChokedEvent.h: Removed. * src/BtChokingEvent.h * src/BtEvent.h: Removed * src/BtEventListener.h: Removed. * src/BtMessage.h * src/BtPieceMessage.cc * src/BtPieceMessage.h * src/BtRequestMessage.cc * src/BtRequestMessage.h * src/DefaultBtMessageDispatcher.cc * src/Makefile.am * src/a2functional.h * test/BtPieceMessageTest.cc * test/BtRequestMessageTest.cc * test/DefaultBtMessageDispatcherTest.cc * test/MockBtMessage.h
This commit is contained in:
parent
82b0d66505
commit
afdd61f9d1
23 changed files with 150 additions and 485 deletions
|
@ -84,7 +84,13 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
virtual void handleEvent(const SharedHandle<BtEvent>& event) {}
|
||||
virtual void onAbortOutstandingRequestEvent
|
||||
(const BtAbortOutstandingRequestEvent& event) {}
|
||||
|
||||
virtual void onCancelSendingPieceEvent
|
||||
(const BtCancelSendingPieceEvent& event) {}
|
||||
|
||||
virtual void onChokingEvent(const BtChokingEvent& event) {}
|
||||
|
||||
virtual void onQueued() {}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue