def __init__(self, *args): Privilege.init() PyExt.init() StdChal.init() IOLoop.configure(EvIOLoop) Server.init_socket_server() super().__init__(*args)
def main(): '''Main function.''' Privilege.init() PyExt.init() StdChal.init() IOLoop.configure(EvIOLoop) init_websocket_server() IOLoop.instance().start()
def main(): '''Main function.''' Privilege.init() PyExt.init() StdChal.init() IOLoop.configure(EvIOLoop) init_socket_server() IOLoop.instance().start()
def main(): '''Main function.''' Privilege.init() PyExt.init() StdChal.init() IOLoop.configure(EvIOLoop) app = Application([ (r'/judge', JudgeHandler), ]) app.listen(2501) IOLoop.instance().start()
def __init__(self, *args): Privilege.init() PyExt.init() StdChal.init() super().__init__(*args)