annotate twisted/plugins/idavoll_http.py @ 220:e59b48f3f636

Add tests for subscription and unsubscription JID checks in [53d2c0019458].
author Ralph Meijer <ralphm@ik.nu>
date Sat, 16 Oct 2010 20:54:52 +0200
parents a219fe70a762
children 564ae55219e1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
177
faf1c9bc2612 Add HTTP gateway in a separate plugin.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
1 # Copyright (c) 2003-2008 Ralph Meijer
faf1c9bc2612 Add HTTP gateway in a separate plugin.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
2 # See LICENSE for details.
faf1c9bc2612 Add HTTP gateway in a separate plugin.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
3
192
a219fe70a762 Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents: 177
diff changeset
4 try:
a219fe70a762 Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents: 177
diff changeset
5 from twisted.application.service import ServiceMaker
a219fe70a762 Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents: 177
diff changeset
6 except ImportError:
a219fe70a762 Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents: 177
diff changeset
7 from twisted.scripts.mktap import _tapHelper as ServiceMaker
177
faf1c9bc2612 Add HTTP gateway in a separate plugin.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
8
192
a219fe70a762 Use ServiceMaker to setup twistd plugins, if available.
Ralph Meijer <ralphm@ik.nu>
parents: 177
diff changeset
9 Idavoll = ServiceMaker(
177
faf1c9bc2612 Add HTTP gateway in a separate plugin.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
10 "Idavoll HTTP",
faf1c9bc2612 Add HTTP gateway in a separate plugin.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
11 "idavoll.tap_http",
faf1c9bc2612 Add HTTP gateway in a separate plugin.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
12 "Jabber Publish-Subscribe Service Component with HTTP gateway",
faf1c9bc2612 Add HTTP gateway in a separate plugin.
Ralph Meijer <ralphm@ik.nu>
parents:
diff changeset
13 "idavoll-http")