[omniORB] Checking dead References

Duncan Grisby dgrisby@uk.research.att.com
Tue, 15 Feb 2000 15:39:29 +0000


On Friday 11 February, casillas_juan_M/madrid_tecnologia2@sinvest.es wrote:

>       works, but ... There are another way to check "dead"
> references ?  (maybe using the _non_existent() method) or some like
> this ? I read some about this in Michi's Book (Advanced CORBA
> Programming ...) but I don't remember where I stored

You can use _non_existent() to find out if an object still exists or
not. However, note that if the server object's process has died,
_non_existent() with throw a COMM_FAILURE exception, rather than
returning true.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --