[omniORB] Sense of reinvoking the same method
radamkie at kdm.pl
radamkie at kdm.pl
Mon Jan 29 14:11:12 GMT 2007
Hi,
I would like to ask about a situation when invoking a remote method
takes much longer time that I need. There is a way to "cancel" such
method by setting timeout. But I have a question, if there is still a sense
to try re-invoking method. For example:
I need to invoke remote method functionX() in 500 ms, which normally takes
10-40 ms. So I plan to do this in such way:
- invoke method functionX() with timeout set to 200 ms
- if invoking takes longer time then 200 ms then
"cancel" (by timer) and invoking the same method second time
and count that this time it takes less time then 300 ms.
Has it sense ? Mayby somebody have experience in it ?
Regards
R.
More information about the omniORB-list
mailing list