[Orbit-python-list] orbit-python NameService resolution (was something else)
Status: Inactive
Brought to you by:
tack
|
From: Christian R. R. <ki...@as...> - 2000-12-02 11:34:35
|
On Fri, 1 Dec 2000, Jason Tackaberry wrote:
> > You can actually do a
> > namepoa=orb.resolve_initial_references("NameService")
>
> Did you hack this into ORBit-Python yet? If so, please submit a patch.
> :) If not, I'll do it this weekend since it should be a pretty simple
> addition.
This works NOW, I mean, it already works! Don't ask :-) Orbit alrady
handled it, and all we needed was the whitespace fix you
submitted. (Interesting thing was the IORs had _no_ whitespace, and I
checked for it specifically.. was it something you did internally or just
black magic?)
Really, all you need to do is specify the IOR through orbitrc, and you'll
get back a refernce when you resolve "NameService". You have to load_idl
/usr/.../share/idl/name_service.idl to get the class and structure
definitions. I can explain more verbosely; perhaps I'll include it in the
doc file, which I'm reworking now that I know a bit more.
One that that _doesn't_ work is specifing the IOR through the commandline,
which would be excellent. Have you ever tried specifying commandline args
through orbit-python? I'll test this further today.
Take care,
--
/\/\ Christian Reis, Senior Engineer, Async Open Source, Brazil
~\/~ http://async.com.br/~kiko/ | [+55 16] 274 4311
|