Frank Wiegerinck wrote:
I found several articles that describes the existense of a prototype of DCOM in XPCOM. These articles (from the years 2000, 2003 and 2004) all
mentioned that DCOM is not part of the XPCOM release, but I need DCOM
to maintain a single instance of a "service" within the entire system.
Can anyone tell me where to find a prototype? Thanks in advance,
Greets, Frank Wiegerinck
There is experimental support for distributed xpcom. It enables one xpcom-based process to access objects that live in another xpcom-based process. It is not compatible with Microsoft DCOM (in case that's what you were asking for). You can enable it by setting the environment variable BUILD_DCONNECT=1 before building Mozilla or when building in mozilla/ipc/ipcd.
The main interface is ipcIDConnectService, which provides methods that mirror the usual createInstance and getService methods. The methods on this interface take a ClientID parameter, which specifies the xpcom-based process where the remote object is to be created (or found). See ipcIService, which provides methods to discover other xpcom-based processes that are connected to the Mozilla IPC daemon.
Keep in mind that this is a work in progress. Feedback is most welcome :-)
Regards, --Darin _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
