[omniORB] Dynamically enabling and disabling endPoints?

Duncan Grisby duncan at grisby.org
Thu May 22 17:38:29 BST 2003


On Tuesday 20 May, Mike Harris wrote:

> I'd like to be able to programmatically add and remove endpoints.
> 
> Specifically, I'd like to remove an endpoint that is listening on a 
> specific port in via TCP and then add an endpoint on that same port via 
> SSL.

[...]
> I would like to start the ORB with only the first endPoint.  Then when 
> I know the protocol selected for the second endPoint, I would like to 
> add it.
> 
> Should I use multiple ORBs?

No, because omniORB does not support multiple ORBs. The only way to do
what you want is to completely destroy the ORB, with ORB::destroy(),
then create a new one with different parameters.

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list