If the RMI server broadcasts some data to all clients via callbacks, and one of the clients is in deadlock, how can I timeout the method invocation? Is there a way to "post-and-forget" method invocation from server to the client?

Edward Harned

There is no method invocation timeout that we know about.  We use application threads to process our Client's requests.

You can start a new thread for each Client call back.  If the thread does not finish in the "time you desire", then you know that Client is stalled and should not receive any more messages.

How to get rid of the hanging thread is another issue involving queue and thread management.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact