| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hello, I've gotten the object reference through CORBA::ORB::string_to_object(). And I would like to call the one of the following functions to get the InterfaceDef: Contained lookup_id(in RepositoryId search_id); or Contained lookup(in ScopedName search_name); How to get to know the RepositoryId (for example, IDL:ModuleName/ InterfaceName:1.0) or ScopedName (for example, ModuleName::InterfaceName) from the object reference? I'm using Orbix 3.3. Thanks. |
|
#2
| |||
| |||
| On Sep 1, 7:39*am, LJ <lingjie.m...@gmail.com> wrote: > Hello, I've gotten the object reference through > CORBA::ORB::string_to_object(). And I would like to call the one of > the following functions to get the InterfaceDef: > > Contained lookup_id(in RepositoryId search_id); > > or > > Contained lookup(in ScopedName search_name); > > How to get to know the RepositoryId *(for example, IDL:ModuleName/ > InterfaceName:1.0) or ScopedName (for example, > ModuleName::InterfaceName) from the object reference? > > I'm using Orbix 3.3. I'm presuming this is C++, so you should have a read of the docs on this: http://www.iona.com/support/docs/orb...guide/IfR.html Also there is a demo in $IONA_ROOT/demos/common/interfacerepository To be honest though, hardly anyone uses this as in most use cases it wasn't really necessary. - M |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.