[omniORB] oneway messaging question
Duncan Grisby
dgrisby@uk.research.att.com
Thu, 16 Dec 1999 09:39:41 +0000
On Wednesday 15 December, "David Woodbury" wrote:
> Does OmniOrb's oneway messaging support distribution/broadcast to
> multiple concurrent subscribers? I'd try this out myself but am in a
> holding pattern while my test system is upgraded with latest compiler.
No, and that's not what oneways are for. oneway just does a possibly
non-blocking, unreliable, call to a single server. In omniORB, oneways
are non-blocking unless you send so many that the TCP buffer fills up,
and almost always arrive. The only situation in which oneways are lost
is when the server-side closes the TCP connection while a oneway call
is in flight. Since there is no reply to a oneway, the ORB can't
detect this situation.
You can use oneway to make multiple concurrent calls to different
servers by just doing them one after the other, but that's nothing
like a broadcast / multicast. I guess what you want is an event
service which uses multicast to contact all subscribers. omniORB
doesn't have one of them.
HTH,
Duncan.
--
-- Duncan Grisby \ Research Engineer --
-- AT&T Laboratories Cambridge --
-- http://www.uk.research.att.com/~dpg1 --