Ags.MessageQueue¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
The recipient’s namespace this message queue is assigned to |
||
r/w |
The sender’s namespace this message queue is assigned to |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
gobject |
r |
||
message_envelope |
[ |
r |
|
obj_mutex |
r |
||
recipient_namespace |
r |
||
sender_namespace |
r |
Class Details¶
- class Ags.MessageQueue(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(sender_namespace)¶
- Parameters:
sender_namespace (
str
) – the sender namespace- Returns:
the new
Ags.MessageQueue
- Return type:
Create a new instance of
Ags.MessageQueue
.New in version 3.0.0.
- add_message_envelope(message_envelope)¶
- Parameters:
message_envelope (
GObject.Object
) – theAgs.MessageEnvelope
Add message to self.
New in version 3.0.0.
- find_recipient(recipient)¶
- Parameters:
recipient (
GObject.Object
) – the recipient asGObject.Object
- Returns:
all matching
Ags.MessageEnvelope
asGLib.List
-struct- Return type:
Find recipient in self's messages.
New in version 3.0.0.
- find_sender(sender)¶
- Parameters:
sender (
GObject.Object
) – the sender asGObject.Object
- Returns:
all matching
Ags.MessageEnvelope
asGLib.List
-struct- Return type:
Find sender in self's messages.
New in version 3.0.0.
- get_message_envelope()¶
- Returns:
the
GLib.List
-struct containingAgs.MessageEnvelope
- Return type:
Get message envelope of self.
New in version 3.6.16.
- get_recipient_namespace()¶
- Returns:
the recipient namespace
- Return type:
Get recipient namespace of self.
New in version 3.6.16.
- get_sender_namespace()¶
- Returns:
the sender namespace
- Return type:
Get sender namespace of self.
New in version 3.6.16.
- query_message(xpath)¶
- Parameters:
xpath (
str
) – the XPath as string- Returns:
all matching
Ags.MessageEnvelope
asGLib.List
-struct- Return type:
Query xpath in self's messages.
New in version 3.0.0.
- remove_message_envelope(message_envelope)¶
- Parameters:
message_envelope (
GObject.Object
) – theAgs.MessageEnvelope
Remove message from self.
New in version 3.0.0.
- set_message_envelope(message_envelope)¶
- Parameters:
message_envelope ([
Ags.MessageEnvelope
]) – theGLib.List
-struct containingAgs.MessageEnvelope
Set message_envelope of self.
New in version 3.6.16.
Property Details¶
- Ags.MessageQueue.props.recipient_namespace¶
-
The assigned namespace of recipient.
New in version 3.0.0.