[omniORB] Creating a nil reference with a repository ID?
Lars von Wedel
vonWedel@lfpt.rwth-aachen.de
Fri, 18 May 2001 11:24:18 +0200
This is a multi-part message in MIME format.
--------------60988E534C063F13AD244CA2
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Can I cast a CORBA::Object::_nil() reference to a nil reference on some
arbitrary interface X? That would be sufficient, then...
Lars
Lars von Wedel wrote:
>
> Hi,
>
> can I create a nil reference based on a repository ID? Of course, I can
> create
> one when I know the class explicitly at compile time, but using a
> servant locator
> I only have a repository ID.
>
> But obviously, using create_reference_with_id or something always
> requires an
> ObjectID and will assume a concrete object behind the reference.
>
> Also, returning CORBA::Object::_nil() won't work when returning the
> reference
> from a method returning some application specific interface, right?
>
> Henning/Vinoski didn't give me any hint, at least not by a quick look.
> Anyone knows how?
>
> Lars
--------------60988E534C063F13AD244CA2
Content-Type: text/x-vcard; charset=us-ascii;
name="vonWedel.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Lars von Wedel
Content-Disposition: attachment;
filename="vonWedel.vcf"
begin:vcard
n:von Wedel;Lars
tel;cell:++49 172 2043412
tel;fax:++49 241 8888326
tel;work:++49 241 805240
x-mozilla-html:TRUE
url:http://www.lfpt.rwth-aachen.de/Staff/vonwedel.html
org:RWTH Aachen;Lehrstuhl fuer Prozesstechnik
adr:;;Turmstrasse 46;52056 Aachen;;;
version:2.1
email;internet:vonWedel@lfpt.rwth-aachen.de
end:vcard
--------------60988E534C063F13AD244CA2--