[omniORB] ORB_init 3rd parameter
Clarke Brunt
clarke.brunt at yeomannavigation.co.uk
Wed Jun 9 12:23:22 BST 2004
ORB_init 3rd parameter>1) What is the ORB_init 3rd argument default value ?
>Or: are ORB_init(argc, argv, "omniORB4") and ORB_init(argc, argv)
equivalent ?
>(I use omniORB 4.0.3.)
My (possibly rudimentary) understanding of this parameter is that it means
"I expect that ORB returned by this call to be an omniORB4" or whatever. If
the actual ORB doesn't match what you asked for, then all that happens is
that a warning is logged.
We have been removing this argument from our code, as it was just a nuisance
(we used to pass "omniORB3", and it started caausing these warnings when we
upgraded to omniORB4).
The only reason I can imagine for using this argument is in an environment
where several different ORBs can be configured, but you know that your code
uses specific features which only work with one of them. In which case,
using this argument will enable you to get a warning message if you
accidentally configure the wrong ORB.
--
Clarke Brunt, Principal Software Engineer, Yeoman Navigation
More information about the omniORB-list
mailing list