Ags.MessageDelivery¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
gobject |
r |
||
message_queue |
[ |
r |
|
obj_mutex |
r |
Class Details¶
- class Ags.MessageDelivery(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod get_instance()¶
- Returns:
- Return type:
Get the
Ags.MessageDelivery
instance.New in version 3.0.0.
- classmethod new()¶
- Returns:
the new
Ags.MessageDelivery
- Return type:
Create a new
Ags.MessageDelivery
.New in version 3.0.0.
- add_message_envelope(sender_namespace, message_envelope)¶
- Parameters:
sender_namespace (
str
) – the sender namespace as stringmessage_envelope (
GObject.Object
) – theAgs.MessageEnvelope
Add message to an
Ags.MessageQueue
specified by sender_namespace.New in version 3.0.0.
- add_message_queue(message_queue)¶
- Parameters:
message_queue (
GObject.Object
) – theAgs.MessageQueue
Add message_queue to self.
New in version 3.0.0.
- find_recipient(recipient_namespace, recipient)¶
- Parameters:
recipient_namespace (
str
) – the recipient namespace as string, maybeNone
recipient (
GObject.Object
) – the recipient asGObject.Object
- Returns:
all matching
Ags.MessageEnvelope
asGLib.List
-struct- Return type:
Find recipient for recipient_namespace matching
Ags.MessageQueue
. If recipient_namespace equalsNone
match all available message queues.New in version 3.0.0.
- find_recipient_namespace(recipient_namespace)¶
- Parameters:
recipient_namespace (
str
) – the recipient namespace as string to find- Returns:
the matching
GLib.List
-struct containingAgs.MessageQueue
orNone
- Return type:
Find recipient namespace of
Ags.MessageQueue
in self.New in version 3.0.0.
- find_sender(recipient_namespace, sender)¶
- Parameters:
recipient_namespace (
str
) – the recipient namespace as string, maybeNone
sender (
GObject.Object
) – the sender asGObject.Object
- Returns:
all matching
Ags.MessageEnvelope
asGLib.List
-struct- Return type:
Find sender for recipient_namespace matching
Ags.MessageQueue
. If recipient_namespace equalsNone
match all available message queues.New in version 3.0.0.
- find_sender_namespace(sender_namespace)¶
- Parameters:
sender_namespace (
str
) – the sender namespace as string to find- Returns:
the matching
GLib.List
-struct containingAgs.MessageQueue
orNone
- Return type:
Find sender namespace of
Ags.MessageQueue
in self.New in version 3.0.0.
- get_message_queue()¶
- Returns:
the
GLib.List
-struct containingAgs.MessageQueue
- Return type:
Get message queue of self.
New in version 3.6.16.
- query_message(recipient_namespace, xpath)¶
- Parameters:
- Returns:
all matching
Ags.MessageEnvelope
asGLib.List
-struct- Return type:
Query xpath for recipient_namespace matching
Ags.MessageQueue
. If recipient_namespace equalsNone
match all available message queues.New in version 3.0.0.
- remove_message_envelope(sender_namespace, message_envelope)¶
- Parameters:
sender_namespace (
str
) – the sender namespace as stringmessage_envelope (
GObject.Object
) – theAgs.MessageEnvelope
Remove message from an
Ags.MessageQueue
specified by sender_namespace.New in version 3.0.0.
- remove_message_queue(message_queue)¶
- Parameters:
message_queue (
GObject.Object
) – theAgs.MessageQueue
Remove message_queue to self.
New in version 3.0.0.
- set_message_queue(message_queue)¶
- Parameters:
message_queue ([
Ags.MessageQueue
]) – theGLib.List
-struct containingAgs.MessageQueue
Set message_queue of self.
New in version 3.6.16.