[omniORB] omniORBpy: setClientCallTimeout not working
Kristóf Stróbl
stroblk at t-mobile.hu
Wed Sep 28 17:32:01 BST 2005
Duncan Grisby wrote:
> On Wednesday 28 September, =?ISO-8859-2?Q?Krist=F3f_Str=F3bl?= wrote:
>
>>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.
>
Thank you, that solved our problem!
Our solution now is to set the client call timeout on both obj and FooObject, the first will let the _narrow() call terminate, the second any method invocation on FooObject.
Kristof
More information about the omniORB-list
mailing list