[omniORB] timeout detection (client-side)
Duncan Grisby
duncan at grisby.org
Mon Dec 3 17:23:20 GMT 2007
On Tuesday 27 November, "Michael Kilburn" wrote:
> What will happen if client set a timeout value (2 seconds) and server
> is too busy to accept a connection. Will client:
> - timeout according to underlying protocol settings (usually 20 sec
> (?) for TCP/IP) and get TRANSIENT_ConnectFailed
> - or it will return after 2 sec with TRANSIENT_CallTimedOut (or
> something else?)
It will time out after 2 seconds with TRANSIENT_ConnectFailed.
> i.e. does omniORB::setClientCallTimeout() guarantee that we'll spend
> at most X seconds in the call in every possible scenario?
Yes, it will guarantee that, to within the limits of scheduling issues
and such. omniORB doesn't try to make hard real-time guarantees, but it
does make a soft guarantee to always time out after the timeout period.
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list