1
0
mirror of https://github.com/avatao-content/test-tutorial-framework synced 2024-12-04 19:11:33 +00:00

Create event handler for ProxyPipeConnector

This commit is contained in:
R. Richard 2019-08-14 14:14:57 +02:00 committed by therealkrispet
parent 4c163e1085
commit f4840f4a6b

View File

@ -4,6 +4,7 @@ from sys import stderr
from tornado.ioloop import IOLoop
from tfw.components.pipe_io import PipeIOHandler
from tfw.components.pipe_connector import ProxyPipeConnectorHandler
from tfw.config import TFWENV
from tfw.logging import Log, Logger, LogFormatter, VerboseLogFormatter
from tfw.main import EventHandlerFactory, setup_signal_handlers
@ -24,6 +25,7 @@ def main():
'/tmp/tfw_send',
'/tmp/tfw_recv'
))
proxy_pipe_eh = eh_factory.build(ProxyPipeConnectorHandler('/tmp/pipes'))
setup_signal_handlers()
IOLoop.current().start()