Getting most recent message from queue
Jan Banan
janban at centrum.cz
Thu Jun 1 12:50:27 PDT 2006
Hallo
are there in D-BUS any simple mechanism for obtaining the most recent
message of specified type (filter) from receiver`s queue ?
Example: [Most recent] ->XAXXXAXXAXA-> [oldest] -> receiver APP
I`d like to pop message type 'A' but the most recent and all other
message type 'A' discard. Message type 'X' should stay untouched. Is it
this possible to do ? I`d like to use only exported low-level C API and
signal type messages.
Best Jan
More information about the dbus
mailing list