By CORBAesque, I meant - CORBA style oneway functions wherein the client would fire and forget a function. This might not be a good idea in your case as the Erlang-end of the XPCOM object might require a notification from the 'other' (standard XPCOM / pyXPCOM) object.
Before I can think of anything, did you check up how blackconnect / pyXPCOM do this ? Because, since you are trying to write a binding, these two places might help you.
--gangadhar
H�ctor Rivas G�ndara wrote:
El Jueves, 17 de Febrero de 2005 17:26, Gangadhar NPK escribi�:
I am assuming you mean that you want to create a local object and execute the methods on that particular object remotely. Correct me if I am wrong.
I'm developing a XPCOM binding like blackconnect. The external language (erlang) will run in other process. I want to:
- call XPCOM objects from erlang
- call XPCOM object implemented in erlang from other XPCOM objects.
My question is how create a new XPCOM object from Erlang. Should I add an event to UI thread or wait for a call to an ErlangXPCOM object to create it?
I have other Idea. I can send an event to the thread that loads my module (the on which calls NS_GetModule).
Another way out would be to create a seperate thread to just wait for the calls from the remote executed object - though I am not sure how good an approach this would be. If you really want to implement the second condition, you might want to look at a CORBAesque oneway function.
CORBAesque?
_______________________________________________ Mozilla-xpcom mailing list [email protected] http://mail.mozilla.org/listinfo/mozilla-xpcom
