[omniORB] DSI / attribute - Determining correct overloaded method from ServerRequest

Duncan Grisby dgrisby@uk.research.att.com
Mon, 18 Oct 1999 09:31:53 +0100


On Monday 18 October, Zach Buckner wrote:

> > I have an IDL that implements an attribute (wstring is a 
> > typedefed sequence):
> > 	attribute wstring data
> > This maps to:
> > 	wstring * myclass_impl::data(void)
> > 	void myclass::data(const wstring &_value)
> > 
> > Now, I'm moving to dsi.  When I see that op_name() yields 'data', 
> > I want to know if it's a PUT or GET (since I need to prepare the 
> > NVList_ptr for params()).  How does this work?  Do I need to use 
> > an Implementation Repository to lookup the context?  This route 
> > seems a bit extreme.

As far as DII and DSI are concerned, attribute foo maps to two
operations named _get_foo and _set_foo.

Cheers,

Duncan.

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