Re: Some questions on using OAFAID
- From: Mathieu Lacage <mathieu eazel com>
- To: Amitabh Nene <amitabh_nene yahoo com>
- Cc: gnome-components-list gnome org
- Subject: Re: Some questions on using OAFAID
- Date: 05 Dec 2000 12:42:36 -0800
Amitabh Nene <amitabh_nene yahoo com> writes:
> Hi,
>
> I have a CORBA server and client running on separate physical machines. I would
> like the client to activate a server object by query, similar to:
To get OAF to activate distant servers, you need to register a distant ObjectDirectory
with your local ActivationContext. I do not think there is any code right now to help
you do that but to do so, I would suggest writing raw CORBA code and hack oafd on the
distant machine so that it prints somewhere the IOR of its local ObjectDirectory...
I would be happy to help with this if you have time: just join on irc: irc.gnome.org
#nautilus, my nickname is 'mathieu'. Perhaps we can even get around to design an API
to ease this kind of details in liboaf....
Mathieu
> obj = oaf_activate ("repo_ids.has('IDL:Test:1.0')", NULL, 0, NULL, &ev);
>
> The above query works when the server is running on the same machine as the
> client since the server .oafinfo has an IID entry in it, but I haven't been
> successful for the separate machines case - I figure I'll have to use OAFAID
> somehow..
>
> * Is this as simple as having the right OAFAID entry in the .oafinfo file ? If
> so, is the syntax similar to the following: <oaf_server iid=".." location=".."
> aid="..">. Or does the AID replace the IID ?
>
> * Does the server also have to register with oaf in a special way ? Note that I
> already have oafd running with --od-domain and --ac-activate..
>
> Will appreciate any help. Thanks.
>
> -Amit
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of Products.
> http://shopping.yahoo.com/
>
> _______________________________________________
> gnome-components-list mailing list
> gnome-components-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-components-list
--
Mathieu Lacage <mathieu eazel com>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]