[omniORB] How to check the NameService for existing services

Nigel Rantor wiggly at wiggly.org
Tue Aug 5 11:40:37 BST 2008


R. P. Janaka wrote:
> Hi all,
> 
> Do I have a way to check the NameService for already existing services 
> before registering a new service.
> 
> Because I am having a problem when I am going to register a new service 
> with the NameService.

Well, a server that wishes to register itself may make just the same 
calls that a client would to look up that name so before trying to bind 
you could look up the name you intend to bind to.

Alternatively you can decide to overwrite the currently bound object 
reference using the "rebind" operation.

   n



More information about the omniORB-list mailing list