[omniORB] PortableServer::Current

Duncan Grisby dgrisby@uk.research.att.com
Thu, 19 Apr 2001 13:25:49 +0100


On Wednesday 18 April, "Kevin Wooten" wrote:

> Sorry to ask all these "timeframe" questions...but does anyone have a
> line on a ProtableServer::Current implementation, or point me in the
> correct direction for adding it. Unless there is an alternate way to
> retrieve the information necessary for using default servants. We almost
> have to use default servants!

PortableServer::Current will be in omniORB 4.0. It's not feasible to
add it to 3.x since it touches too many places in the ORB.

Default servants are indeed rather limited without Current support.
You can go some way to faking the same sort of thing by using a
ServantLocator which sets some context in thread specific data. Since
omniORB 3's omnithread doesn't support thread specific data, any such
solution will be non-portable between operating systems.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --