comparison salut.tac @ 0:d1bc50b64974

initial commit
author Goffi <goffi@goffi.org>
date Tue, 25 Feb 2014 22:22:18 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:d1bc50b64974
1 from twisted.application import service
2 from twisted.words.protocols.jabber import jid
3 from wokkel.component import Component
4
5 from salut import SalutGateway
6
7 application = service.Application("Salut directory")
8
9 xmppcomponent = Component("necton3.int", 5347, "salut.necton3.int", "pass")
10 # xmppcomponent.logTraffic = True
11 salut = SalutGateway()
12 salut.setHandlerParent(xmppcomponent)
13 xmppcomponent.setServiceParent(application)