mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 22:57:17 +00:00
Explain subscription
This commit is contained in:
parent
6edc8d8bd5
commit
a82a0d68cf
@ -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(
|
||||
'',
|
||||
|
Loading…
Reference in New Issue
Block a user