Issue 3111: Abstract interface and DSI issue with C++ (cxx_revision) Source: Floorboard Software (Mr. Jonathan Biggar, jon(at)floorboard.com) Nature: Uncategorized Issue Severity: Summary: There doens't appear to be any portable way to implement an object that inherits from an abstract interface using the DSI in C++ without compile time knowledge of the abstract interface. The basic problem is that I can create an object reference from a POA, but there is no way to convert the reference into an abstract interface reference so that I can send it out on the wire. We need some mechanism to coerce an object reference into an abstract interface reference (with a runtime check) to make this work. Resolution: Revised Text: Actions taken: December 10, 1999: received issue Discussion: deferred in June 2011 to the next RTF End of Annotations:===== Sender: jbiggar@floorboard.com Message-ID: <3851816B.717A760F@floorboard.com> Date: Fri, 10 Dec 1999 14:40:43 -0800 From: Jonathan Biggar X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.6 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: issues@omg.org, cxx_revision@omg.org Subject: Abstract interface and DSI issue with C++ Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: "'cd95M?e9GiR!!/-Fe9 There doens't appear to be any portable way to implement an object that inherits from an abstract interface using the DSI in C++ without compile time knowledge of the abstract interface. The basic problem is that I can create an object reference from a POA, but there is no way to convert the reference into an abstract interface reference so that I can send it out on the wire. We need some mechanism to coerce an object reference into an abstract interface reference (with a runtime check) to make this work. -- Jon Biggar Floorboard Software jon@floorboard.com jon@biggar.org X-Sender: vinoski@mail.boston.amer.iona.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Mon, 13 Dec 1999 09:10:08 -0500 To: Jonathan Biggar From: Steve Vinoski Subject: Re: Abstract interface and DSI issue with C++ Cc: cxx_revision@omg.org In-Reply-To: <3851816B.717A760F@floorboard.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-UIDL: Ge?!!pmG!!lb?!!^#jd9 At 02:40 PM 12/10/99 -0800, Jonathan Biggar wrote: >There doens't appear to be any portable way to implement an object that >inherits from an abstract interface using the DSI in C++ without compile >time knowledge of the abstract interface. The basic problem is that I >can create an object reference from a POA, but there is no way to >convert the reference into an abstract interface reference so that I can >send it out on the wire. This doesn't surprise me in the least. There's lots of stuff that the OBV changes introduced that doesn't work with the DSI. I brought this up when the submitters were working on the final OBV submission, and one of the major proponents of abstract interfaces (who shall remain nameless) -- and I'm not making this up -- said, "What is the DSI?" --steve