Skip to main content

Summary This article clarifies an issue with the _non_existent() calls when passing in a timeout value through the environment parameter
Environment

Orbix 3.3 C

All Supported Operating Systems

Question/Problem Description

_non_existent() calls do not honour timeout specified in environment that is passed to it through

CORBA::Boolean CORBA::Object::_non_existent(
CORBA::Environment& IT_env = CORBA::IT_chooseDefaultEnv())

Setting the timeout as follows does not work in the _non_existent() call

    CORBA::Environment  env;

    env.timeout(3000);  

    myProxy->_non_existent(env);

Clarifying Information

The CORBA::Object::_non_existent() call is normally invoked on a proxy and it tests if the target object exists.

Returns 1 (TRUE) if the object does not exist; returns 0 (FALSE) otherwise. (It does not raise an exception if the object does not exist.)

Error Message
Defect/Enhancement Number 68271
Cause
Resolution

Please update to the latest active release of Orbix 3.3.

Workaround
Notes This issue has been fixed in Orbix 3.3 SP7 or later.
Attachment

#Orbix
#KnowledgeDocs