emin
emin

Reputation: 752

Rmi client connection check and retrying to connect?

I'm using RMI and I have a server object and many clients that connected to server. My question is about client connections. How can I check client connections disconnected ? If a client disconnected it should try to re-connect the server ?

Is there any example that is useful about connection checking and and re-connection ?

I have come up hearbeat offer ? Is it best solution ?

Best Regards,

Upvotes: 0

Views: 4706

Answers (1)

user207421
user207421

Reputation: 311039

Connections in RMI are managed automatically, and completely hidden from you. The only control you have over them is via the RMI system properties listed in the Javadoc/Guide to Features/RMI.

Upvotes: 1

Related Questions