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? 

-- 
Greets

_______________________________________________
Mozilla-xpcom mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to