[omniORB] ORBendPoint for dynamic interface configuration

Duncan Grisby duncan at grisby.org
Tue Dec 21 12:10:57 GMT 2004


On Tuesday 21 December, "Kiesswetter, Florian (Florian)" wrote:

> we are using omniORB 4.0.3 on VxWorks 5.5 target with two (TCP/IP)
> interfaces. One of the interface is configured dynamically via DHCP, one is
> configured at startup. 
> 
> 1. Is it possible to initialize the ORB with an endPoint
> at startup (using the already available interface) so that the dynamic
> interface can also be served (using the same port) during runtime?
> I expected if I use an endPoint=giop:tcp::<port> that the ORB is listening
> on the specified port on all available interfaces, but this dosen't work.

I would expect that to work too. It certainly works on other platforms
like Linux.

> 2. Is it really necessary to shutdown/destroy the ORB to support interfaces
> which are dynamically configured after the ORB has been initialized?

As I say, it should work to listen on all interfaces, without doing
anything special. If you really do need to change the endPoint
specification, you do currently have to destroy the ORB and restart it.
It wouldn't be impossible to allow the endPoints to change after
startup, but lots of code currently assumes that they don't change once
set.

Cheers,

Duncan.

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



More information about the omniORB-list mailing list