![]() |
![]() |
![]() |
MateCORBA2 Reference Manual | |
---|---|---|---|---|
Top | Description |
MateCORBA_IModule; const char * MateCORBA_get_safe_tmp (void
); gpointer MateCORBA_small_alloc (CORBA_TypeCode tc
); gpointer MateCORBA_small_allocbuf (CORBA_TypeCode tc
,CORBA_unsigned_long length
); void MateCORBA_small_freekids (CORBA_TypeCode tc
,gpointer p
,gpointer d
); gpointer MateCORBA_sequence_alloc (CORBA_TypeCode sequence_tc
,CORBA_unsigned_long length
); void MateCORBA_sequence_append (gpointer sequence
,gconstpointer element
); void MateCORBA_sequence_set_size (gpointer sequence
,CORBA_unsigned_long length
); #define MateCORBA_sequence_index (sequence, idx) void MateCORBA_sequence_concat (gpointer sequence
,gconstpointer append
); enum MateCORBAConnectionStatus; gpointer MateCORBA_small_get_servant (CORBA_Object obj
); MateCORBAConnectionStatus MateCORBA_small_get_connection_status (CORBA_Object obj
); MateCORBAConnectionStatus MateCORBA_small_listen_for_broken (CORBA_Object obj
,GCallback fn
,gpointer user_data
); MateCORBAConnectionStatus MateCORBA_small_unlisten_for_broken_full (CORBA_Object obj
,GCallback fn
,gpointer user_data
); MateCORBAConnectionStatus MateCORBA_small_unlisten_for_broken (CORBA_Object obj
,GCallback fn
); MateCORBAConnection; MateCORBAConnection * MateCORBA_small_get_connection (CORBA_Object obj
); MateCORBAConnection * MateCORBA_small_get_connection_ref (CORBA_Object obj
); void MateCORBA_small_connection_unref (MateCORBAConnection *cnx
); void MateCORBA_connection_set_max_buffer (MateCORBAConnection *cnx
,gulong max_buffer_bytes
); MateCORBA_IInterface * MateCORBA_small_get_iinterface (CORBA_Object opt_object
,const CORBA_char *repo_id
,CORBA_Environment *ev
); extern int MateCORBA_small_flags; CORBA_sequence_MateCORBA_IInterface * MateCORBA_small_get_iinterfaces (const char *name
); MateCORBAAsyncQueueEntry; void MateCORBA_small_invoke_stub_n (CORBA_Object object
,MateCORBA_IMethods *methods
,glong index
,gpointer ret
,gpointer *args
,CORBA_Context ctx
,CORBA_Environment *ev
); CORBA_char * MateCORBA_small_get_type_id (CORBA_Object object
,CORBA_Environment *ev
); void (*MateCORBAAsyncInvokeFunc) (CORBA_Object object
,MateCORBA_IMethod *m_data
,MateCORBAAsyncQueueEntry *aqe
,gpointer user_data
,CORBA_Environment *ev
); void MateCORBA_small_demarshal_async (MateCORBAAsyncQueueEntry *aqe
,gpointer ret
,gpointer *args
,CORBA_Environment *ev
); void MateCORBA_small_invoke_stub (CORBA_Object object
,MateCORBA_IMethod *m_data
,gpointer ret
,gpointer *args
,CORBA_Context ctx
,CORBA_Environment *ev
); void MateCORBA_small_invoke_async (CORBA_Object obj
,MateCORBA_IMethod *m_data
,MateCORBAAsyncInvokeFunc fn
,gpointer user_data
,gpointer *args
,CORBA_Context ctx
,CORBA_Environment *ev
); #define MATECORBA_SMALL_FAST_LOCALS #define MATECORBA_SMALL_FORCE_GENERIC_MARSHAL CORBA_sequence_CORBA_TypeCode * MateCORBA_small_get_types (const char *name
); gboolean MateCORBA_small_load_typelib (const char *libname
);
typedef struct { CORBA_unsigned_long version; MateCORBA_IInterface **interfaces; CORBA_sequence_CORBA_TypeCode types; } MateCORBA_IModule;
gpointer MateCORBA_small_allocbuf (CORBA_TypeCode tc
,CORBA_unsigned_long length
);
|
|
|
|
Returns : |
void MateCORBA_small_freekids (CORBA_TypeCode tc
,gpointer p
,gpointer d
);
|
|
|
|
|
gpointer MateCORBA_sequence_alloc (CORBA_TypeCode sequence_tc
,CORBA_unsigned_long length
);
|
|
|
|
Returns : |
void MateCORBA_sequence_append (gpointer sequence
,gconstpointer element
);
|
|
|
void MateCORBA_sequence_set_size (gpointer sequence
,CORBA_unsigned_long length
);
|
|
|
#define MateCORBA_sequence_index(sequence,idx) (sequence)->_buffer[(idx)]
|
|
|
void MateCORBA_sequence_concat (gpointer sequence
,gconstpointer append
);
|
|
|
typedef enum { MATECORBA_CONNECTION_CONNECTED, MATECORBA_CONNECTION_CONNECTING, MATECORBA_CONNECTION_DISCONNECTED, MATECORBA_CONNECTION_IN_PROC } MateCORBAConnectionStatus;
gpointer MateCORBA_small_get_servant (CORBA_Object obj
);
|
|
Returns : |
MateCORBAConnectionStatus MateCORBA_small_get_connection_status
(CORBA_Object obj
);
|
|
Returns : |
MateCORBAConnectionStatus MateCORBA_small_listen_for_broken (CORBA_Object obj
,GCallback fn
,gpointer user_data
);
|
|
|
|
|
|
Returns : |
MateCORBAConnectionStatus MateCORBA_small_unlisten_for_broken_full (CORBA_Object obj
,GCallback fn
,gpointer user_data
);
|
|
|
|
|
|
Returns : |
MateCORBAConnectionStatus MateCORBA_small_unlisten_for_broken (CORBA_Object obj
,GCallback fn
);
|
|
|
|
Returns : |
MateCORBAConnection * MateCORBA_small_get_connection (CORBA_Object obj
);
|
|
Returns : |
MateCORBAConnection * MateCORBA_small_get_connection_ref (CORBA_Object obj
);
|
|
Returns : |
void MateCORBA_small_connection_unref (MateCORBAConnection *cnx
);
|
void MateCORBA_connection_set_max_buffer (MateCORBAConnection *cnx
,gulong max_buffer_bytes
);
|
|
|
MateCORBA_IInterface * MateCORBA_small_get_iinterface (CORBA_Object opt_object
,const CORBA_char *repo_id
,CORBA_Environment *ev
);
|
|
|
|
|
|
Returns : |
CORBA_sequence_MateCORBA_IInterface * MateCORBA_small_get_iinterfaces
(const char *name
);
|
|
Returns : |
void MateCORBA_small_invoke_stub_n (CORBA_Object object
,MateCORBA_IMethods *methods
,glong index
,gpointer ret
,gpointer *args
,CORBA_Context ctx
,CORBA_Environment *ev
);
|
|
|
|
|
|
|
|
|
|
|
|
|
CORBA_char * MateCORBA_small_get_type_id (CORBA_Object object
,CORBA_Environment *ev
);
|
|
|
|
Returns : |
void (*MateCORBAAsyncInvokeFunc) (CORBA_Object object
,MateCORBA_IMethod *m_data
,MateCORBAAsyncQueueEntry *aqe
,gpointer user_data
,CORBA_Environment *ev
);
|
|
|
|
|
|
|
|
|
void MateCORBA_small_demarshal_async (MateCORBAAsyncQueueEntry *aqe
,gpointer ret
,gpointer *args
,CORBA_Environment *ev
);
|
|
|
|
|
|
|
void MateCORBA_small_invoke_stub (CORBA_Object object
,MateCORBA_IMethod *m_data
,gpointer ret
,gpointer *args
,CORBA_Context ctx
,CORBA_Environment *ev
);
|
|
|
|
|
|
|
|
|
|
|
void MateCORBA_small_invoke_async (CORBA_Object obj
,MateCORBA_IMethod *m_data
,MateCORBAAsyncInvokeFunc fn
,gpointer user_data
,gpointer *args
,CORBA_Context ctx
,CORBA_Environment *ev
);
This method is used to invoke a remote (or local) method
asynchronously. fn
is called back on return - either with an empty
CORBA_Environment indicating success, or with the error.
CORBA_sequence_CORBA_TypeCode * MateCORBA_small_get_types (const char *name
);
|
|
Returns : |
gboolean MateCORBA_small_load_typelib (const char *libname
);
This method has security issues if you do not use
an absolute path in libname
. The environment variables
MATECORBA_TYPELIB_PATH and MATE2_PATH are used to scan for
type libraries.
|
the name of the type library to load |
Returns : |
FALSE if load failed. |