Re: howto get the servant from the object reference



Hi Dietmar,

Yes, this is definately ORBit specific (and it breaks the CORBA model)
I'm curious - why do you want to do this?

Cheers,

Phil


Dietmar Maurer writes:
 > I have just found a way: obj->servant
 > Although I think this is ORBit specific?
 > 
 > Zhong Haoming wrote:
 > 
 > >  Hi!I think you can not do that.
 > >
 > >        Is it possible to get the PortableServer_Servant if I only
 > >
 > >      have a CORBA_Object (if the object is local)?
 > >
 > >      What I need is something like this:
 > >
 > >      if (servant = servant_from_object (obj)) {
 > >           /* found the servant */
 > >      } else {
 > >          /* object is not local */
 > >      }
 > >
 > 
 > 
 > _______________________________________________
 > orbit-list mailing list
 > orbit-list gnome org
 > http://mail.gnome.org/mailman/listinfo/orbit-list
 > 





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]