def main() : component = SimpleComponent( jid = "im.partych.at", password = "******", server = "127.0.0.1", port = 5275, backend = None) component.start() httpFrontend = HTTPFrontend(8080, None) httpFrontend.start()
def main() : backend = SimpleBackend() component = SimpleComponent( jid = "posts.cheshir.lit", password = "******", server = "cheshir.lit", port = 5347, backend = backend) component.start() httpFrontend = HTTPFrontend(8080, backend) httpFrontend.start()
def main(): component = SimpleComponent(jid="im.partych.at", password="******", server="127.0.0.1", port=5275, backend=None) component.start() httpFrontend = HTTPFrontend(8080, None) httpFrontend.start()