![]() | ![]() | ![]() | libgda API reference | ![]() |
---|
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, constgchar *name);gboolean gda_corba_oafiid_is_active (constgchar *oafiid);
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.
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 |
CORBA_Object gda_corba_get_name_service (void);
Return a reference to the CORBA name service.
Returns : | a reference to the CORBA name service |
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. |
gchar * gda_corba_get_oaf_attribute (CORBA_sequence_OAF_Property props, constgchar *name);
props : | |
name : | |
Returns : |
|
<<< gda-config | GdaError >>> |