-----Mensaje reenviado-----
From: Christophe Saout <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Getting objref type info on the fly for a scripting language binding
Date: Thu, 20 May 2004 20:23:29 +0200

Hi,

I'm trying to update my old php-orbit bindings to ORBit2.

I've got a serious problem:

When calling a method I need to find the methods of the interface.
Before I can do that I need to find the interface definition of the
object reference I want to use.

There's a ORBit_small_get_type_id. But why does it always make a request
across the network even if it already knows the type?

When I'm not using ORBit2 on the other end the function fails to tell me
the repoid. When I hack ORBit_small_get_type_id to always just return
g_quark_to_string(objref->type_qid) it works.

PyORBit shows the same behavior.

I can get the reference from an external IOR, but if it's not an ORBit2
server the __typecode__ property (from the PyORBit bindings) just return
CORBA.Object and I can't call any methods.

In ORBit1 I could just use obref->object_id (I copied that from Owen
Taylor's CORBA::ORBit perl bindings) and it never failed me.


_______________________________________________
orbit-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/orbit-list


_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to