klep | 3 Jul 2009 08:52
Picon

[CORBA] Broadcast method invocation


Hi All !

I'm only newbie in Corba, so may be this question just doesn't have answer
;)

I have two identical server application (with identical POA inside), can I
register two servers in Corba Name serviss with broadcast support ?

For example:

computer1
MyNameSpace::Server::CreateTest();

computer2
the same
MyNameSpace::Server::CreateTest();

Then client can send broadcast query to MyNameSpace::Server::CreateTest for
all servers simultaneous.

Is it possible ? And if yes, how ?
--

-- 
View this message in context: http://www.nabble.com/-CORBA--Broadcast-method-invocation-tp24317957p24317957.html
Sent from the OmniORB - Dev mailing list archive at Nabble.com.
Floris Bruynooghe | 4 Jul 2009 14:58
Picon
Gravatar

Patch for gcc 4.4 build issues

Hi

Below is a very simple patch that is required for omniORB to build
with gcc 4.4.  GCC 4.4 cleaned up some more C++ headers and you always
need to #include headers directly.  It would be nice if this could be
merged.  (Patch originally from Martin Michlmayr,
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505389)

Thanks
Floris

--- src/appl/utils/catior/catior.cc~	2008-11-11 22:34:40.000000000 +0000
+++ src/appl/utils/catior/catior.cc	2008-11-11 22:34:56.000000000 +0000
 <at>  <at>  -25,6 +25,7  <at>  <at> 
 // Lists contents of an IOR.

 #include <string.h>
+#include <stdio.h>
 #include <stdlib.h>

 #include <omniORB4/CORBA.h>
--- src/appl/utils/convertior/convertior.cc~	2008-11-11
22:36:04.000000000 +0000
+++ src/appl/utils/convertior/convertior.cc	2008-11-11
22:36:10.000000000 +0000
 <at>  <at>  -25,6 +25,7  <at>  <at> 
 // Takes an IOR, hostname as arguments. Outputs IOR with new hostname.

 #include <string.h>
+#include <stdio.h>
(Continue reading)

Duncan Grisby | 8 Jul 2009 18:27

Re: Patch for gcc 4.4 build issues

On Saturday 4 July, Floris Bruynooghe wrote:

> Below is a very simple patch that is required for omniORB to build
> with gcc 4.4.  GCC 4.4 cleaned up some more C++ headers and you always
> need to #include headers directly.  It would be nice if this could be
> merged.  (Patch originally from Martin Michlmayr,
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505389)

Thanks. I think the issue has already been addressed in CVS, with a
slightly different change that avoids the use of EOF. Are you able to
try that out?

Cheers,

Duncan.

--

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

Gmane