gda-corba

Name

gda-corba -- CORBA utility functions

Synopsis



CORBA_ORB   gda_corba_get_orb               (void);
CORBA_Object gda_corba_get_name_service     (void);
gboolean    gda_corba_handle_exception      (CORBA_Environment *ev);
gchar*      gda_corba_get_oaf_attribute     (CORBA_sequence_OAF_Property props,
                                             const gchar *name);
gboolean    gda_corba_oafiid_is_active      (const gchar *oafiid);

Description

This module provides a set of utility functions for some CORBA-related tasks. It is mainly provided to be used internally in other GDA parts, but it is made available for GDA application developers also.

Details

gda_corba_get_orb ()

CORBA_ORB   gda_corba_get_orb               (void);

Return the CORBA ORB being used by the current program.

Returns : a reference to the current CORBA ORB


gda_corba_get_name_service ()

CORBA_Object gda_corba_get_name_service     (void);

Return a reference to the CORBA name service.

Returns : a reference to the CORBA name service


gda_corba_handle_exception ()

gboolean    gda_corba_handle_exception      (CORBA_Environment *ev);

Handles the given exception. Note that this function is very simple: it just logs an error message to the GDA log if there was an exception, and nothing else. So, it is only useful if you just want to know if a CORBA exception happened. If you want more detailed information about the exception, you should handle it yourself.

ev : a CORBA_Environment structure
Returns : TRUE if there was no error, FALSE otherwise.


gda_corba_get_oaf_attribute ()

gchar*      gda_corba_get_oaf_attribute     (CORBA_sequence_OAF_Property props,
                                             const gchar *name);

props : 
name : 
Returns : 


gda_corba_oafiid_is_active ()

gboolean    gda_corba_oafiid_is_active      (const gchar *oafiid);

oafiid : 
Returns :