Submission instructions
In a directory hw2 include:
- Bank, ATM and Router code as well as their compiled versions.
Code should be compiled with the javac compiler on your grace account.
- Files Alice.card and Bob.card
- Files AlicePIN.txt and BobPIN.txt
- Your design document
- A README file including the name, UID, and Grace username of each
member of your team.
Create an archive by running the following command from the directory containing
hw2:
        gtar czvf hw2.tar.gz hw2
Then submit the archive through the submit script:
        submit 2009 fall cmsc 414 0101 2 hw2.tar.gz
-
1. Do we have to work in a team?
Yes. This project is to be done in teams of 2 students.
2. The stub code for the Bank blocks awaiting input from
stdin but it needs to handle requests from the ATM through the socket.
How do we do this?
This will have to be handled with threads which the stub code for
the bank does not incorporate. Please modify the Bank code accordingly.
(Update: Stub Bank code with threads is available here.)