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
1 changed files with 2 additions and 0 deletions

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()