2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Moved setStatusRealtime() from FileAllocationDispatcherCommand
	to SequentialDispatcherCommand.
	* src/FileAllocationDispatcherCommand.cc
	* src/SequentialDispatcherCommand.h
pull/1/head
Tatsuhiro Tsujikawa 2009-01-24 10:29:36 +00:00
parent a20aa3c7e5
commit 5da58fe01d
3 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,10 @@
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Moved setStatusRealtime() from FileAllocationDispatcherCommand to
SequentialDispatcherCommand.
* src/FileAllocationDispatcherCommand.cc
* src/SequentialDispatcherCommand.h
2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net> 2009-01-24 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Rewritten FileAllocationDispatcherCommand using brand new Rewritten FileAllocationDispatcherCommand using brand new

View File

@ -44,10 +44,7 @@ FileAllocationDispatcherCommand::FileAllocationDispatcherCommand
(int32_t cuid, (int32_t cuid,
const SharedHandle<FileAllocationMan>& fileAllocMan, const SharedHandle<FileAllocationMan>& fileAllocMan,
DownloadEngine* e):SequentialDispatcherCommand<FileAllocationEntry> DownloadEngine* e):SequentialDispatcherCommand<FileAllocationEntry>
(cuid, fileAllocMan, e) (cuid, fileAllocMan, e) {}
{
setStatusRealtime();
}
Command* FileAllocationDispatcherCommand::createCommand Command* FileAllocationDispatcherCommand::createCommand
(const SharedHandle<FileAllocationEntry>& entry) (const SharedHandle<FileAllocationEntry>& entry)

View File

@ -55,7 +55,10 @@ public:
SequentialDispatcherCommand(int32_t cuid, SequentialDispatcherCommand(int32_t cuid,
const SharedHandle<SequentialPicker<T> >& picker, const SharedHandle<SequentialPicker<T> >& picker,
DownloadEngine* e): DownloadEngine* e):
Command(cuid), _picker(picker), _e(e) {} Command(cuid), _picker(picker), _e(e)
{
setStatusRealtime();
}
virtual bool execute() virtual bool execute()
{ {