Whole document tree Chapter 11. LibGnorba Documentation11.1. GOAD (Gnome Object Activation Directory)11.1.1. Author(s)Elliot Lee <sopwith@redhat.com> 11.1.2. DescriptionA set of routines for getting a listing of available CORBA object servers, and connecting to new or existing servers using specified parameters. 11.1.3. goad_server_list_get - get a listing of objects which we know how to bootstrap11.1.3.1. DescriptionThis function returns an array of GoadServer structures that list the objects that a program can use. 11.1.3.2. UsageGoadServer *servlist = goad_server_list_get(); /* use servlist */ goad_server_list_free(servlist); 11.1.4. goad_server_activate - get a specified server11.1.4.1. DescriptionWhen passed the address of a GoadServer structure (one retrieved from goad_server_list_get), this function will try to either connect to an existing server for the object, or start a new one up. 11.1.4.2. UsageGoadServer *servlist, *chosen = NULL; CORBA_Object dothings; int i; servlist = goad_server_list_get(); for(i = 0; servlist[i].repo_id; i++) { if(!strcmp(servlist[i].id, "gnumeric")) { chosen = &servlist[i]; break; } } dothings = goad_server_activate(chosen, GOAD_ACTIVATE_SHLIB|GOAD_NO_NS_REGISTER); 11.1.4.3. Parameters
11.1.5. goad_server_activate_with_repo_id - get a server that offers a specified interface.11.1.5.1. DescriptionWhen passed the repository ID of an object, this function will try to either connect to an existing server for an object offering that interface, or start a new one up. 11.1.5.2. UsageCORBA_Object dothings; dothings = goad_server_activate_with_repo_id(NULL, "IDL:GNOME/HelpBrowser", 0); 11.1.5.3. Parameters
|