Re: [orbitcpp-list] CORBA::ORB::destroy() static?!
Status: Beta
Brought to you by:
philipd
From: Sam C. <sc...@bi...> - 2002-05-06 13:24:53
|
Dan Kegel <dk...@ix...> wrote: > According to "Advanced Corba Programming with C++", > page 521, there's a normal method PortableServer::POA::destroy; > yet Orbitcpp seems to make it a static method: >=20 > /usr/local/include/orb/orbitcpp_poa.hh: static void destroy( ... >=20 > I'm just a newbie to corba and orbitcpp, but it kinda > looks like orbit isn't following the standard here. > Am I right? It's hard to tell. The OMG specs are notoriously hard to read until you already understand what you're trying to find out by reading the spec. But from what I can tell, the PIDL interface for the POA in the CORBA 2.3 specification definately shows the destroy() operation on the POA interface, with no mention that I can find of it being static. Since there's no way to define a static method in IDL, I'd say the method is not supposed to be static. For reference, see section 11.3.8.4 of the CORBA 2.3 spec for the description of the destroy() operation, and section 11.4 for the IDL for the entire PortableServer module. The destroy() operation is on page 11-45. If noone makes any noise in the next <x> days, I'll make the change to the header file in CVS. Not that it's all that useful... it's not implemented yet. Tee hee. --=20 Sam "Eddie" Couter | mailto:sc...@bi... Debian Developer | mailto:ed...@de... | jabber:sa...@ja... OpenPGP fingerprint: A46B 9BB5 3148 7BEA 1F05 5BD5 8530 03AE DE89 C75C |