[omniORB] omniORBpy: setClientCallTimeout not working
Duncan Grisby
duncan at grisby.org
Wed Sep 28 16:06:57 BST 2005
On Wednesday 28 September, =?ISO-8859-2?Q?Krist=F3f_Str=F3bl?= wrote:
> What are we doing wrong (we are using: omniORB 4.0.5, omniORBpy 2.5.,
> RedHat Advanced Server 3.0)?
[...]
> orb = CORBA.ORB_init([], CORBA.ORB_ID)
> obj = orb.string_to_object("corbaloc:iiop:localhost:55555/FooObject")
>
> #omniORB.setClientCallTimeout(1000)
> FooObject = obj._narrow(FOOidl.Foo)
> omniORB.setClientCallTimeout(obj, 1000)
obj and FooObject are two different object references (to the same
object). You need to set the timeout on the one you are using:
omniORB.setClientCallTimeout(FooObject, 1000)
Cheers,
Duncan.
--
-- Duncan Grisby --
-- duncan at grisby.org --
-- http://www.grisby.org --
More information about the omniORB-list
mailing list