--skeleton_impl question



Hi,

I have a question regarding the skeleton implementation of *_create().
The skeleton code makes the servant keep a reference to the parent poa
by doing something like:

   newservant->poa = poa;

Wouldn't it be more correct to do:

  newservant->poa = (PortableServer_POA) CORBA_Object_duplicate((CORBA_Object)poa, ev);

??


Best regards,
  jules


-- 
Jules Colding <JuBColding@yorkref.com>
York Refrigeration




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