[omniORB] deciphering IORs in the code

Duncan Grisby duncan at grisby.org
Mon Sep 13 13:17:27 BST 2004


On Wednesday 8 September, "Andrew Knapp" wrote:

> I am using OmniORBpy with Python on Soalris.
> 
> I have a script that queries the Nameserver and prints out each context
> and related bindings.  Currently I have to make an external call to
> 'catior' to decipher the IOR and extract the hostname and port for each
> biding.  Is there any way to decipher IORs in the code itself???

>From Python code, no, unless you want to write your own IOR decoder.
You could lift the code from catior and wrap it into a little Python
extension module.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list