posted 16 years ago
Hello!
I have two questions I have struggled to find a solution to.
My first question is what is needed for code to enter a synchronized block? I'm trying to debug my lock method and it seems whenever I call the lock method, my code enters the method, but doesn't enter the synchronized block.
My second question is how can I take an ip address given to me, try to connect to it with rmi, and if I can't connect to it in a certain amount of time, timeout and give an error message?
Thanks!
David Pham
[ August 21, 2007: Message edited by: David Khoi Pham ]