annotate salut.tac @ 3:593345584d21
default tip
replace ad-hoc commands "subscribe" and "unsubscribe" with a single "update" command
author |
souliane <souliane@mailoo.org> |
date |
Wed, 02 Sep 2015 14:02:50 +0200 |
parents |
d1bc50b64974 |
children |
|
rev |
line source |
0
|
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) |