diff salut.tac @ 0:d1bc50b64974

initial commit
author Goffi <goffi@goffi.org>
date Tue, 25 Feb 2014 22:22:18 +0100
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/salut.tac	Tue Feb 25 22:22:18 2014 +0100
@@ -0,0 +1,13 @@
+from twisted.application import service
+from twisted.words.protocols.jabber import jid
+from wokkel.component import Component
+
+from salut import SalutGateway
+
+application = service.Application("Salut directory")
+
+xmppcomponent = Component("necton3.int", 5347, "salut.necton3.int", "pass")
+# xmppcomponent.logTraffic = True
+salut = SalutGateway()
+salut.setHandlerParent(xmppcomponent)
+xmppcomponent.setServiceParent(application)