orbit question-Pyorbit
- From: Hassan Aurag <aurag crm umontreal ca>
- To: pyorbit theopenlab uml edu, gnome-devel-list gnome org
- Subject: orbit question-Pyorbit
- Date: Mon, 20 Dec 1999 04:17:20 GMT
Hi,
I have been trying to use Pyorbit.
I have done the following:
##Corba server stuff
orb = CORBA.ORB_init(("gmath", "numpy"), "orbit-local-orb")
poa = PortableServer.RootPOA(orb)
poa.the_POAManager.activate()
servant = Types.POA_Tester(win)
poa.activate_object_with_id("gmath\0", servant)
ref = poa.servant_to_reference(servant)
ior = orb.object_to_string(ref)
iorfile = open("/tmp/GMatH.ior", "w")
iorfile.write(ior)
iorfile.close()
thread.start_new_thread(orb.run,())
Here "win" is a GnomeApp instance
Now in the another app, I tried to connect to that ior (whatever?!!)
Anyway, needless to say it doesn't work!
What am I doing wrong?
Btw, how do I put orb.run() with mainloop() in pygnome?!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]