Question

What should I use to make client wait some time and if after this time he still does not get answer, make request again. If he get answer in specified time continue with other request.

Était-ce utile?

La solution

You could do your rmi call on a separate thread and have the main thread wait for a period of time before killing the worker thread and resubmitting the rmi call in case the previous one failed.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top