From: Artur Hefczyc <wislaj23@wp...> - 2001-09-27 08:19:04
> thank you for the comments in the interface class. also the test client is
> really helpful. i hope to make some progresses this weekend.
Fine, but note that TestClient I created for my testing.
To make usefull TestClient for your developing you
should change line:
ProtocolIfc proto = ProtocolFactory.createStandardImpl(new URI(url), debug);
ProtocolIfc proto = ProtocolFactory.createProtocol(new URI(url), debug);
I create bridge to standard java protocols implementation first to have something
I implemented HTTP earlier but it isn't compatible with the current design so
in short time I try to reimplement it.
And please note that URI class is not ready yet.
Chauhan is taking care of that class but there is exams time in universities now
and we must wait for this class yet.
Maybe I try tu put some usefull code today.
I have made many changes to wttools java code.
At the moment it is possible to run simply
test application which uses FTP or HTTP protocol
downloads file from remote web server.
At the moment it uses standard sun's protocols
imlementation from JDK-1.3.1.
But it can be simply changed when we will get
our own wttools protocols implementation.
Changes details put intu attachment.
ProtocolFactory works OK
URI works OK
org.gnu.protocols.sunp.ProtocolImpl works OK
please note some minor changes in ProtocolIfc