Re: howto get the servant from the object reference



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 */
>      }
>





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