Ikea
说明: IKEA shopping store is a distributed systems program , where there are customer threads, stock thread , clerk threads and these operate to assist the customer threads to shop and pay,, uses monitor. Uses server and client communication.
文件列表:
project2 (0, 2009-12-20)
project2\cashierclerk.java (2050, 2009-12-18)
project2\client.java (2446, 2009-12-20)
project2\clientoutput.txt (36143, 2009-12-20)
project2\customer.java (5861, 2009-12-20)
project2\floorclerk.java (2025, 2009-12-20)
project2\ikea.java (2072, 2009-12-20)
project2\server.java (931, 2009-12-20)
project2\serveroutput.txt (3958, 2009-12-20)
project2\serverthread.java (3655, 2009-12-20)
project2\stockclerk.java (1942, 2009-12-18)
2 executables
server.java
ikea.java
To run this program on a single computer,
place the files in one directory and compile them
run the server.java
then run ikea.java : note if you are using a single computer type "localhost" without the quotes on the client side
if running this program on more than 1 computers than type the ip address of the server computer.
make sure port 4444 is not being used by any other program.
近期下载者:
相关文件:
收藏者: