From: Suresh V. <vad...@gm...> - 2005-09-12 22:41:22
|
Hello, With a trip to India and other things happening, there is not much I can= =20 contribute at this point. Please count me out of the project and Best of=20 luck on the implementation. Thanks -suresh On 9/7/05, steve chang <pre...@ya...> wrote:=20 >=20 > Hello team, > After I tracked the code and ran the project, I propose my idea for the= =20 > ftp support. I hope you can give me comments about it. > class diagram http://homepage3.seed.net.tw/web@5/stevechang/class.png > sequence diagram for create a new download task=20 > http://homepage3.seed.net.tw/web@5/stevechang/seq.png > The design is based on the abstract factory design pattern.=20 > ProtocolFactory is an abstract factory class that creates=20 > ProtocolDownloadHelper, Protocol and Command. > Based on the original code, DownloadMap and DownloadRange aren't=20 > dependent on protocol. So they aren't appear on the class diagram. > In order to seperate the quickget from protocol implementation clearly, = I=20 > use protocol and command interface to wrap the httpclient library and ftp= =20 > implementation is also wrapped under the same interface. > I also find a ftp implementation that has a similar architecture with=20 > httpclient under apache common net project. > Hope for your comment. > Regards, > Steve > |