Re: ORBit2 and DSI



On Mon, 2003-10-06 at 17:15, rm wrote:
> 	first i plan to clean up the code i posted (there are a few
> huge bugs i noticed :>). i've also implemented a layer on top of the
> code i posted to allow handling of "attributes": 

	Ok - great :-)

> 	(assume there is (something like a) g_object called "foo".)
> 	foo_impl = create_object("IDL:BLAH/FOO:1.0", ...)
> 	add_float_attr_handler(foo_impl, "size", &foo->size);
> 	....
> 
> which will have the effect of creating a corba object with an
> interface containing void set_size(in float value), and float
> get_size(). without having to write handlers for simple types and
> simple type signatures.  

	Right - we're not interested in this in the ORB; possibly something
like this belongs in libbonobo - but then the PropertyBag interface does
something similar.

> the spec compliant DSI doesn't seem to require you to build the
> interface before hand. instead you implement a function that returns
> (the repos id of) the most derived interface that is implemented. i
> assume either the client side or the orb implementation (or both) are
> then supposed to find the definition from the interface repository.

	Ok - we can do this without the IR, with our internal typecode
registration stuff then I guess.

> can you explain more about what you mean wrt the async reply stuff?
> (from what i understand, you basically make a non-blocking corba call
> with a completion callback).

	Ok; I just looked at this again, and I think we could make an async
interface out of it without too much pain; since the NVList is an
interface; either way - it would be _most_ helpful if you could extract
the DSI information, interfaces and types from the spec. and post them
here in text form so we can wrestle with them more effectively [
postscript / pdf suck for almost everything ].

> finally, i don't have cvs access.

	Can you see http://ooo.ximian.com/ooo-build.html - pwrt. the
instructions for generating a crypted password.

	Thanks,

		Michael.

-- 
 michael@ximian.com  <><, Pseudo Engineer, itinerant idiot




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]