[Orbit-python-list] hi
Status: Inactive
Brought to you by:
tack
|
From: Khaled D. <kh...@w-...> - 2000-11-11 12:40:19
|
First I would like to point out that it seems like it is dead quiet on
this list ( im not subscribed ) atleast if you like at the archive.
Anyway on to a problem Ive encountered.
I have a simple server implemented using c++/mico,
then using python and orbit-python I did this.
CORBA.load_idl("time.idl")
orb = CORBA.ORB_init((), CORBA.ORB_ID)
ior = open("/tmp/time.ior").readline()[:-1]
t = orb.string_to_object(ior)
the output looks like this.
<CORBA.Object object at 80ff980>
Could one take that it is a nil reference with orbit-python ( Id like a
is_nil implemented ) or should it be None ?
When using your Bank example I get a nicer output
<Bank.Account object at 80f1a80>
So ofcourse the client i wrote with orbit-python does not
work, the c++ client works, but anyway I would like to know what
makes 't' to be a CORBA.Object.
If more info is needed just let me know.
/Khaled Daham, w.arts
Mail: kh...@w-...
Cell: +46-70-6785492, +966-54491462
FreeBSD: The Power to Serve! http://www.FreeBSD.org/
|