def main():
        ChatRouter = sockjs.cyclone.SockJSRouter(ChatConnection, '/chat')

        app = cyclone.web.Application( [ (r"/", IndexHandler) ] +
                                       ChatRouter.urls )
        reactor.listenTCP(8888, app)
        reactor.run()
dataset/ETHPy150Open flaviogrossi/sockjs-cyclone/examples/chat/chat.py/main/original