view twisted/plugins/idavoll_http.py @ 192:a219fe70a762

Use ServiceMaker to setup twistd plugins, if available.
author Ralph Meijer <ralphm@ik.nu>
date Fri, 30 May 2008 09:56:08 +0000
parents faf1c9bc2612
children 564ae55219e1
line wrap: on
line source

# Copyright (c) 2003-2008 Ralph Meijer
# See LICENSE for details.

try:
    from twisted.application.service import ServiceMaker
except ImportError:
    from twisted.scripts.mktap import _tapHelper as ServiceMaker

Idavoll = ServiceMaker(
        "Idavoll HTTP",
        "idavoll.tap_http",
        "Jabber Publish-Subscribe Service Component with HTTP gateway",
        "idavoll-http")