Hi, 

I'm designing a component to allow remote XPCOM object calls. It will allow:
 1.- calling of remotely implemented XPCOM objs.  
 2.- invocation of local XPCOM objects remotely  

In the first case I have no doubt about threading model. The caller thread 
will marshall the call and send it. After this, the thread will wait for the 
response, executing incoming call to local objects sent by the remote object. 
As soon as the response arrives, thread wakes up and the result is returned. 

I will use nsIQueueEvent to send incoming calls an response.

I have problems with the second case. If the remote object takes the initative 
and wants to create a new object or call a mathod in a created one: Which 
thread should do this work? 

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

Reply via email to