[omniORB] omniORBpy: Deferred synchronous

Duncan Grisby duncan@grisby.org
Sun Sep 15 21:43:01 2002


On Wednesday 11 September, "Bahns, Chris" wrote:

> Is there a way to do deferred synchronous requests in omniORBpy 1.5? Does
> omniORBpy 2.0 Beta currently support deferred synchronous with the DII?
> Is/Will deferred synchronous with Messaging/AMI be supported [when]?

omniORBpy 2.0 does not support DII. The big problem with DII in the
Python language mapping is that, unlike the C++ mapping, it absolutely
requires an interface repository. I think that design is wrong, but
that's the way it is.

The correct way to do deferred requests is with AMI, but that is not
supported yet. Perhaps in omniORB 4.1 / omniORBpy 3. Especially if
someone steps forward to pay for it...

The current DII deferred synchronous in omniORB's C++ incarnation just
spawns threads to do the calls. It's dead simple in Python to create a
new thread to do a call, then get its result through the queue module.

Cheers,

Duncan.

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