Home

GEONius.com
27-Mar-2016
E-mail

colior - Dump CORBA Interoperable Object Reference (IOR)

colior (COLI IOR Dump) dumps a CORBA Interoperable Object Reference (IOR) string of the form "IOR:..." or a "corbaloc:..." URL in human-readable form. If no IOR or URL is specified, colior prints out a usage message and also dumps an internally stored IOR test string (the example IOR below!).

For example, the following IOR string (found on the web):

IOR:010000001900000049444c3a48656c6c6f576f726c642f48656c6c6f3a312e3000000000010000000000000070000000010101cd0900000046414354554d323500cd30091b00000014010f00525354088d983b99730d00000000000100000001000000cd03000000000000000800000001cdcdcd004f4154010000001400000001cdcdcd01000100000000000901010000000000004f41540400000001cd0000

generates the following dump:

              URL = corbaloc:iiop:1.1@FACTUM25:2352/%14%01%0F%00RST%08%8D%98;%99s%0D%00%00%00%00%00%01%00%00%00%01%00%00%00

    Repository ID = IDL:HelloWorld/Hello:1.0

TAG_INTERNET_IOP Profile
          Version:  1.1
          Address:  2352@FACTUM25
       Object Key =
         00000000:  14010F00 52535408 8D983B99 730D0000  "....RST...;.s..."
         00000010:  00000001 00000001 000000             "..........."
        Component = TAG_ORB_TYPE
         00000000:  01CDCDCD 004F4154                    ".....OAT"
         ORB Type:  0x54414F00 (1413566208)
        Component = TAG_CODE_SETS
         00000000:  01CDCDCD 01000100 00000000 09010100  "................"
         00000010:  00000000                             "...."
           Normal:  ISO 8859-1:1987; Latin Alphabet No. 1
             Wide:  ISO/IEC 10646-1:1993; UTF-16, UCS Transformation Format 16-bit form
        Component = 1413566208
         00000000:  01CD0000                             "...."

Invocation:

% colior [IOR:string|corbaloc:URL]

where

IOR:string
is the IOR string to be dumped. The "IOR:" prefix is optional.
corbaloc:URL
is a corbaloc: URL. If a URL is specified, the URL is converted to an IOR string and the IOR string is then dumped.
If no IOR or URL is specified, an internally stored IOR test string is dumped.

Alex Measday  /  E-mail