The liboaf Library | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
If you plan to use OAF for your own CORBA servers, you should use the following simple checklist.
Create a unique UUID for your CORBA server by using libuuid and uuidgen (both are available by anonymous ftp from tsx-11.mit.edu in /pub/linux/packages/ext2fs. These are part of the e2fsprogs package.
Create a proper .oafinfo file for your server describing its IDL interfaces, its main properties and the way it is to be activated.
Call oaf_init (make sure you do not initialize twice by calling oaf_is_initialized). Then, call oaf_active_server_register to register yourself as running to the OAF daemon.
Here, put a real-life example of a client and a server.
Here, present how to use setup the system for the non-local case. If anyone is willing to write this part, mail gnome-components-list@gnome.org. in the meantime, you can have a look at the code in gnome-libs HEAD from cvs. (I never had time to go look at it)