Name
BonoboObjectClient -- Object activation routines
Synopsis
typedef BonoboObjectClient;
typedef BonoboObjectClientClass;
void (*BonoboObjectClientAsyncCallback)
(BonoboObjectClient *o,
const char *error,
gpointer user_data);
BonoboObjectClient* bonobo_object_client_from_corba
(Bonobo_Unknown o);
BonoboObjectClient* bonobo_object_client_construct
(BonoboObjectClient *object_client,
CORBA_Object corba_object);
BonoboObjectClient* bonobo_object_activate (const char *iid,
gint oaf_flags);
void bonobo_object_activate_async (const char *iid,
gint oaf_flags,
BonoboObjectClientAsyncCallback callback,
gpointer user_data);
gboolean bonobo_object_client_has_interface
(BonoboObjectClient *object,
const char *interface_desc,
CORBA_Environment *opt_ev);
Bonobo_Unknown bonobo_object_client_query_interface
(BonoboObjectClient *object,
const char *interface_desc,
CORBA_Environment *opt_ev);
void bonobo_object_client_ref (BonoboObjectClient *object_client,
BonoboObject *opt_exception_obj);
void bonobo_object_client_unref (BonoboObjectClient *object_client,
BonoboObject *opt_exception_obj);
|
Details
BonoboObjectClient
typedef struct {
BonoboObject parent;
} BonoboObjectClient; |
BonoboObjectClientClass
typedef struct {
BonoboObjectClass parent_class;
} BonoboObjectClientClass; |
BonoboObjectClientAsyncCallback ()
void (*BonoboObjectClientAsyncCallback)
(BonoboObjectClient *o,
const char *error,
gpointer user_data); |
bonobo_object_client_from_corba ()
Wraps the corba_object CORBA object reference in a BonoboObjectClient
object. This is typically used if you got a CORBA object yourself and not
through one of the activation routines and you want to have a BonoboObjectClient
handle to use in any of the Bonobo routines.
bonobo_object_client_construct ()
Initializes object_client with the CORBA object for the
Bonobo::Unknown interface provided in corba_object.
bonobo_object_activate ()
This activates the object from the IID using OAF; you probably
don't want to do this, you might want to use bonobo_get_object
which does object activation through the moniker system.
You might also consider doing property-based activation using the
the OAF-based capabilities.
bonobo_object_activate_async ()
This activates the object from the IID using OAF; you probably
don't want to do this; instead do capability based activation
using OAF directly.
bonobo_object_client_has_interface ()
gboolean bonobo_object_client_has_interface
(BonoboObjectClient *object,
const char *interface_desc,
CORBA_Environment *opt_ev); |
Queries the object to see if it implements the interface
described by interface_desc. Basically a thin
Bonobo_Unknown::query_interface wrapper.
bonobo_object_client_query_interface ()
Bonobo_Unknown bonobo_object_client_query_interface
(BonoboObjectClient *object,
const char *interface_desc,
CORBA_Environment *opt_ev); |
Queries the object to see if it implements the interface
described by interface_desc. Basically a thin
Bonobo_Unknown::query_interface wrapper.
bonobo_object_client_ref ()
Increments the Bonobo ref count on the remote object.
bonobo_object_client_unref ()
Decrements the Bonobo ref count on the remote object.