Top |
#define | AGS_MESSAGE_ENVELOPE_GET_OBJ_MUTEX() |
GObject * | ags_message_envelope_get_sender () |
GObject * | ags_message_envelope_get_recipient () |
xmlDoc * | ags_message_envelope_get_doc () |
void | ags_message_envelope_get_parameter () |
AgsMessageEnvelope * | ags_message_envelope_new () |
AgsMessageEnvelope * | ags_message_envelope_new_with_params () |
The AgsMessageEnvelope acts as messages passing system.
You create the message envelope with a xmlDoc which is your actual
message, this is your xml-doc
property.
You may provide additional parameters and obtain them by calling:
ags_message_envelope_get_parameter()
#define AGS_MESSAGE_ENVELOPE_GET_OBJ_MUTEX(obj) (&(((AgsMessageEnvelope *) obj)->obj_mutex))
GObject *
ags_message_envelope_get_sender (AgsMessageEnvelope *message_envelope
);
Get sender.
Since: 3.0.0
GObject *
ags_message_envelope_get_recipient (AgsMessageEnvelope *message_envelope
);
Get recipient.
Since: 3.0.0
xmlDoc *
ags_message_envelope_get_doc (AgsMessageEnvelope *message_envelope
);
Get xmlDoc.
Since: 3.0.0
void ags_message_envelope_get_parameter (AgsMessageEnvelope *message_envelope
,guint *n_params
,gchar ***parameter_name
,GValue **value
);
Get parameters.
message_envelope |
||
n_params |
return location of parameter count |
|
parameter_name |
return location |
|
value |
return location of GValue array containing values |
Since: 3.0.0
AgsMessageEnvelope * ags_message_envelope_new (GObject *sender
,GObject *recipient
,xmlDoc *doc
);
Create a new instance of AgsMessageEnvelope.
Since: 3.0.0
AgsMessageEnvelope * ags_message_envelope_new_with_params (GObject *sender
,GObject *recipient
,xmlDoc *doc
,guint n_params
,gchar **parameter_name
,GValue *value
);
Create a new instance of AgsMessageEnvelope.
sender |
the GObject as sender |
|
recipient |
the GObject as recipient |
|
doc |
the xmlDoc |
|
n_params |
n params |
|
parameter_name |
|
|
value |
the GValue array containing values |
Since: 3.0.0