Explain subscription

This commit is contained in:
R. Richard 2019-05-14 08:47:29 +02:00
parent 6edc8d8bd5
commit a82a0d68cf
1 changed files with 8 additions and 1 deletions

View File

@ -15,7 +15,14 @@ from pipe_io_auxlib import (
if __name__ == '__main__':
'''
Creates general purpose pipes.
You can send/receive JSON messages to/from the TFW server as any user.
The first parameter associates the receiving pipe with a key, which is
an empty string in this case. It has a special meaning, you can
subscribe to every kind of message with this key.
If you wish to filter incoming data, specify a single or more keys in
a list, eg.: processmanager, ide, key...
You can send/receive JSON messages to/from the TFW server as any user,
because we gave read+write permissions, without that parameter, only
the owner has access to the pipes.
'''
json_pipe = PipeIOEventHandler(
'',