Getting most recent message from queue
janban at centrum.cz
Thu Jun 1 12:50:27 PDT 2006
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.
More information about the dbus