mirror of
https://github.com/avatao-content/test-tutorial-framework
synced 2024-11-14 02:57:18 +00:00
Create event handler for ProxyPipeConnector
This commit is contained in:
parent
4c163e1085
commit
f4840f4a6b
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user