annotate salut.tac @ 1:92549e4336a6

2015 copyright dates update
author Goffi <goffi@goffi.org>
date Mon, 30 Mar 2015 10:30:54 +0200
parents d1bc50b64974
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
1 from twisted.application import service
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
2 from twisted.words.protocols.jabber import jid
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
3 from wokkel.component import Component
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
4
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
5 from salut import SalutGateway
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
6
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
7 application = service.Application("Salut directory")
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
8
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
9 xmppcomponent = Component("necton3.int", 5347, "salut.necton3.int", "pass")
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
10 # xmppcomponent.logTraffic = True
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
11 salut = SalutGateway()
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
12 salut.setHandlerParent(xmppcomponent)
d1bc50b64974 initial commit
Goffi <goffi@goffi.org>
parents:
diff changeset
13 xmppcomponent.setServiceParent(application)