Top |
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.
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.
Since: 3.0.0
“recipient”
property“recipient” GObject *
The assigned recipient.
Owner: AgsMessageEnvelope
Flags: Read / Write
Since: 3.0.0
“sender”
property“sender” GObject *
The assigned sender.
Owner: AgsMessageEnvelope
Flags: Read / Write
Since: 3.0.0
“xml-doc”
property“xml-doc” gpointer
The assigned xml-doc.
Owner: AgsMessageEnvelope
Flags: Read / Write
Since: 3.0.0