Вопрос

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.

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top