[omniORB] catior

Wil_Evers@doosys.com Wil_Evers@doosys.com
Thu, 05 Aug 1999 08:35:25 GMT


Andy Brown wrote:

> Can anyone tell me what information is returned about an IOR
> when the CATIOR utility is run.

>    Heres the one i'm trying to find information on.

> alert1$ catior
> IOR:007704082800000049444c3a6f6d672e6f72672f436f734e616d696e672f4
> e616d696e67 436f6e746578743a312e300001000000000000002c00000000010
> 000100000003139332e3131332e3132392e31393500361f00000c00000023b08c
> 37f70ebff202000000
> Type ID: "IDL:omg.org/CosNaming/NamingContext:1.0"
> Profiles:
> 1. IIOP 1.0 193.113.129.195 7990 "#..7........"

Catior prints the information which is embedded in a stringified object
reference.  A CORBA object reference contains an interface repository type
identifier (which may be empty), followed by a list of possibly  different
types of profiles.  If the profile is an IIOP profile, it contains
information the target object's location and identity.

Specifically, in the last line:

1.0            is the IIOP version
193.113.129.195     is the IP address of the target host
7990                is the server's TCP port number
"#..7........" is the object key, which, for omniORB2,
               is always 12 bytes long.  In the example
               above, this corresponds to the last 12 bytes
               (23b08c37f70ebff202000000) in the IOR.

You can find all about this in chapters 11 and 13 of the CORBA 2.2 spec.

Hope this helps,

- Wil
Wil Evers, DOOSYS IT Consultants, Maarssen, Holland