diff options
author | James Meyer <james.meyer@operamail.com> | 2012-09-27 18:32:06 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2012-09-27 18:32:06 (GMT) |
commit | 304d821050223f5ab40df4e7a20afbc818b6665d (patch) | |
tree | 111065244dbf4bb39a5148d536159570f12a2a56 /abs/extra/graphload | |
parent | ccf22570c93522c55c48bdf01633550ce0ce5797 (diff) | |
download | linhes_pkgbuild-304d821050223f5ab40df4e7a20afbc818b6665d.zip linhes_pkgbuild-304d821050223f5ab40df4e7a20afbc818b6665d.tar.gz linhes_pkgbuild-304d821050223f5ab40df4e7a20afbc818b6665d.tar.bz2 |
LinHES-system: add the ability to view the msg queue
msg_client.py is used to add,remove, or list items in the queue of messages that
will be displayed on screen. Optionaly messages can be given an identifier or "tag".
This identifier does not have to be unique.
Items are processed in the order they arrive, based off their slot number.
The lowest slot number will be displayed first.
After the message is displayed it is removed from the queue.
ADD:
To add items to the queue:
msg_client.py --msg "My first message" --tag "tag1"
REMOVE:
Removing items are based off the tag.
To remove all items from the queue that match the tag "tag1":
msg_client.py --clear --tag tag1
To remove all items from the queue:
msg_client.py --clear
Listing items in the queue or to get the total count:
msg_client.py --print_list
> -------------
> msg : slot 1
> slot : 1
> cmd : msg
> tag : None
> timeout : None
To immediately stop displaying the current message, use the kill command.
msg_client.py --kill
Diffstat (limited to 'abs/extra/graphload')
0 files changed, 0 insertions, 0 deletions