How to create private objects when using locators?
Hello,
I need to use the global namespace with indirect proxy for most of objects but I also want to create some private objects that use direct proxy. I don't think that's possible because createDirectProxy takes an identity and in order to get an Identity I have have to first `add' the object to an adapter.
ObjectPrx = adapter->add(object, Ice::stringToIdentity("name"));
DirectPrx = adapter->createDirectProxy(ObjectPrx->ice_identity());
I think step one (assuming adapter has a locator) will create an
indrect proxy and register it in the global namespace. Correct?
I'm about to write my own namespace, which doesn't seem to hard, but wanted to make sure there's really a need for it.
Thanks,
John Basrai
Software Engineer
Northrop Grumman Mission Systems/ISD