parseIOR displays the contents of a stringified IOR.
parseIOR <ior>where ior can be:
<IOR string> stringified IOR
<file name> file containing stringified IOR
<URL string> corbaname/corbaloc/http, etc. URL fromats
The parseIOR utility parses and displays the contents of an Interoperable Object Reference (IOR). This includes the repository ID of the object, and the various profiles.The argument to parseIOR is parsed as follows:
- If the argument starts with "IOR:", then it is assumed to be a stringified IOR
- Otherwise, if the argument is a URL string (starts with "corbaname:", "corbaloc:", "iiopname:", "iiopname:", "iiopboot:", "http:", "ftp:", etc, ) then the URL string is converted to CORBA object.
- Otherwise, the parameter is assumed to be a file containing a stringified IOR
Output from parseIOR for the poaBank example:Type Id = IDL:poaBank/Bank:1.0
Profiles = 1IOP Profile:
version = 1.1
host = godel
port = 2506
obj Key =
4A424B52 00030002 00000100 22C20283 JBKR........"...
62616E6B bank
parseIOR IOR:010000001900000049444C3A6...000000000000
parseIOR ior
parseIOR iiopboot://yosemite/NameService
parseIOR corbaname::yosemite:2506#services/Trader
Copyright © 1998-2003, Novell, Inc. All rights reserved.