We had to create an Instant Messenger in Java as our home-work.
We created it. You can send/recv messages using our instant messenger.
Now we have to add "file-transfer" feature. It has to be completed in about 10 hours from now. Time is 1pm EST.
We have existing code which does all the sendMSG, getMSG, buddy list etc. But we have to add fileTransfer feature.
This is how FileTransfer will work:::::
chat server/client - sendFile will send a special type of message (message in a particular format); server's getMessage will recognize this message and pass the control to class for handling incoming File Transfer.
Incoming File transfer handler will then create a new file on the
local-machine; and copy incoming bystreams, until it reaches the file size that was transmitted first.
So, when we send special message using sendMSG, the getMSG will send back a socket; and pass the control to Incoming File Handler class. Then the incoming file transfer handler class; and the outgoing file transfer handler class will transfer file using this socket.
0) It's a homework project. so it does not need to be very professional. You also don't have to check for lot of error scenerios. You can assume that a simple file would be sent, and a simple file would be recived. You don't have to check for errors like file already exists, overwrite/replace whatever.
Just comment the code/methods.
1) I will give you existing code and little documentation of what we have done so far.
But You don't have to rely on existing code though. You just have to create class for handling incoming/outgoing file transfer.
And you will also need to modify existing getMSG and sendMSG method a little bit to recognize file-transfer mode.
That's all. You don't have to worry about correcting errors in existing code.
Client server application
9 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön
Dear chrislee, we can add necessary feature at the specified time. We have an experience in instant messenger development with Java. Best regards, DevUnion Team.
Dear chrislee, I can add necessary features within the specified time limit. I have done sismilar type of projcet myself using the Java Netwok API and swings. Best regards, Mahendra.