Copyright (c) Qusay H. Mahmoud
38
Step 4: implement the server….
l
Wait for invocations from clients:
l
l
java.lang.Object sync = new java.lang.Object();
l
synchronized(sync)
{
l
sync.wait();
l
}
l
l