baseimage-tutorial-framework/src/event_handlers/event_handler_main.py

12 lines
408 B
Python
Raw Normal View History

from source_code_event_handler import SourceCodeEventHandler
from terminado_event_handler import TerminadoEventHandler
from tornado.ioloop import IOLoop
from tfw.config import tfwenv
if __name__ == '__main__':
anchor_webide = SourceCodeEventHandler('anchor_webide', tfwenv.WEBIDE_WD, 'login')
anchor_terminado = TerminadoEventHandler('anchor_terminado', 'terminado')
IOLoop.instance().start()