Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

check java.rmi.Remote client alive?

843793May 14 2006 — edited May 17 2006
Hi,

I have a Client program which extends java.rmi.Remote and a Server program which has a method Connect(java.rmi.Remote client).

in my Server program, I add the "java.rmi.Remote client" stub reference into a vector when any client calls the remote method Connect(java.rmi.Remote client).

when I am trying to check if the client is still alive, how could i make use of the stub reference to do so? I have check if the reference is null but it doesn't work.

Thank you for any help.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2006
Added on May 14 2006
5 comments
999 views