[omniORB] Re: incoming LOCATE_REQUEST, how to satisfy it

Duncan Grisby dgrisby@uk.research.att.com
Thu, 02 Nov 2000 17:16:32 +0000


On Thursday 2 November, Fabien COUTANT wrote:

> I have -- at last -- found a solution that works.  It's even written in
> omniORB's documentation !  It's called "omniINSPOA".

[...]
> Just to write down the answer, I had to do the following:
> 
>     inspoa = orb.resolve_initial_references ("omniINSPOA")
>     inspoa.activate_object_with_id (
> 	":\\10.2.1.30:MyClass:::IFR:MyClass\0", myObject)
>     inspoa._get_the_POAManager ().activate ()

Does Orbix always use the same key, though?  I think in some
circumstances it will change things around a bit. That's why I said it
was dangerous to try to second-guess what Orbix is up to.

Cheers,

Duncan.

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