Re: Getting objref type info on the fly for a scripting language binding



jue, 20-05-2004 a las 20:23, Christophe Saout wrote:

> 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?
> 
> PyORBit shows the same behavior.
> 
We have the same problem. What do you think is the easiest or best way
to solve it?


> 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.
isn't it the same problem?


> 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
> orbit-list gnome org
> http://mail.gnome.org/mailman/listinfo/orbit-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]