Esempio n. 1
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedFTP = _tapHelper(
    "Twisted FTP",
    "twisted.tap.ftp",
    "An FTP server.",
    "ftp")
Esempio n. 2
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedSOCKS = _tapHelper(
    "Twisted SOCKS",
    "twisted.tap.socks",
    "A SOCKSv4 proxy service.",
    "socks")
Esempio n. 3
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedWeb = _tapHelper(
    "Twisted Web",
    "twisted.web.tap",
    ("A general-purpose web server which can serve from a "
     "filesystem or application resource."),
    "web")
Esempio n. 4
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedPortForward = _tapHelper(
    "Twisted Port-Forwarding",
    "twisted.tap.portforward",
    "A simple port-forwarder.",
    "portforward")
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedMail = _tapHelper(
    "Twisted Mail",
    "twisted.mail.tap",
    "An email service",
    "mail")
Esempio n. 6
0
from twisted.scripts.mktap import _tapHelper
TwistedManhole = _tapHelper(
    "Twisted Manhole (old)",
    "twisted.tap.manhole",
    "An interactive remote debugger service.",
    "manhole")
Esempio n. 7
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedTelnet = _tapHelper("Twisted Telnet Shell Server", "twisted.tap.telnet",
                           "A simple, telnet-based remote debugging service.",
                           "telnet")
Esempio n. 8
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedWeb = _tapHelper(
    "Twisted Web",
    "twisted.web.tap",
    ("A general-purpose web server which can serve from a "
     "filesystem or application resource."),
    "web")
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from zope.interface import classProvides

from twisted.plugin import IPlugin

from twisted.scripts.mktap import _tapHelper
from twisted.words import iwords

TwistedTOC = _tapHelper(
    "Twisted TOC Server",
    "twisted.words.toctap",
    "An AIM TOC service.",
    "toc")

NewTwistedWords = _tapHelper(
    "New Twisted Words",
    "twisted.words.tap",
    "A modern words server",
    "words")

class RelayChatInterface(object):
    classProvides(IPlugin, iwords.IProtocolPlugin)

    name = 'irc'

    def getFactory(cls, realm, portal):
        from twisted.words import service
        return service.IRCFactory(realm, portal)
    getFactory = classmethod(getFactory)
Esempio n. 10
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedNews = _tapHelper("Twisted News", "twisted.news.tap", "A news server.",
                         "news")
Esempio n. 11
0
from twisted.scripts.mktap import _tapHelper
 
Palaver = _tapHelper(
                "Palaver",
                "palaver.tap",
                "A multi-user chat xmpp/jabber component.",
                "palaver")
Esempio n. 12
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedINETD = _tapHelper("Twisted INETD Server", "twisted.runner.inetdtap",
                          "An inetd(8) replacement.", "inetd")
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedSSH = _tapHelper(
    "Twisted Conch Server",
    "twisted.conch.tap",
    "A Conch SSH service.",
    "conch")

TwistedManhole = _tapHelper(
    "Twisted Manhole (new)",
    "twisted.conch.manhole_tap",
    ("An interactive remote debugger service accessible via telnet "
     "and ssh and providing syntax coloring and basic line editing "
     "functionality."),
    "manhole")
Esempio n. 14
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedNames = _tapHelper(
    "Twisted DNS Server",
    "twisted.names.tap",
    "A domain name server.",
    "dns")
Esempio n. 15
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedINETD = _tapHelper(
    "Twisted INETD Server",
    "twisted.runner.inetdtap",
    "An inetd(8) replacement.",
    "inetd")
Esempio n. 16
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedSSH = _tapHelper("Twisted Conch Server", "twisted.conch.tap",
                        "A Conch SSH service.", "conch")

TwistedManhole = _tapHelper(
    "Twisted Manhole (new)", "twisted.conch.manhole_tap",
    ("An interactive remote debugger service accessible via telnet "
     "and ssh and providing syntax coloring and basic line editing "
     "functionality."), "manhole")
Esempio n. 17
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedFTP = _tapHelper(
    "Twisted FTP",
    "twisted.tap.ftp",
    "An FTP server.",
    "ftp")
Esempio n. 18
0
from twisted.scripts.mktap import _tapHelper

Punjab = _tapHelper("Punjab", "punjab.tap", "A HTTP XMPP client interface",
                    "punjab")
Esempio n. 19
0
# twistedpythy.py: mktap-plugin registrator for TwistedPythy
# Pythy <*****@*****.**>

from twisted.scripts.mktap import _tapHelper

TwistedBank = _tapHelper(
    "Twisted Pythy Demo server",
    "TwistedPythy.tap",
    "An Twisted Pythy service (for Pythy about Python blog).",
    "tpythy")
Esempio n. 20
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedPortForward = _tapHelper(
    "Twisted Port-Forwarding",
    "twisted.tap.portforward",
    "A simple port-forwarder.",
    "portforward")
Esempio n. 21
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedMail = _tapHelper("Twisted Mail", "twisted.mail.tap",
                         "An email service", "mail")
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedNews = _tapHelper(
    "Twisted News",
    "twisted.news.tap",
    "A news server.",
    "news")
Esempio n. 23
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedTelnet = _tapHelper(
    "Twisted Telnet Shell Server",
    "twisted.tap.telnet",
    "A simple, telnet-based remote debugging service.",
    "telnet")
Esempio n. 24
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedSOCKS = _tapHelper("Twisted SOCKS", "twisted.tap.socks",
                          "A SOCKSv4 proxy service.", "socks")
Esempio n. 25
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from twisted.scripts.mktap import _tapHelper

TwistedManhole = _tapHelper("Twisted Manhole (old)", "twisted.tap.manhole",
                            "An interactive remote debugger service.",
                            "manhole")
Esempio n. 26
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from zope.interface import implements

from twisted.plugin import IPlugin
from twisted.web2.iweb import IResource


class _Web2ResourcePlugin(object):
    implements(IPlugin, IResource)

    def __init__(self, name, className, description):
        self.name = name
        self.className = className
        self.description = description


TestResource = _Web2ResourcePlugin("TestResource",
                                   "twisted.web2.plugin.TestResource",
                                   "I'm a test resource")

from twisted.scripts.mktap import _tapHelper

TwistedWeb2 = _tapHelper('Twisted Web2', 'twisted.web2.tap',
                         ("An HTTP/1.1 web server that can serve from a "
                          "filesystem or application resource."), "web2")
Esempio n. 27
0
# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
# See LICENSE for details.

from zope.interface import classProvides

from twisted.plugin import IPlugin

from twisted.scripts.mktap import _tapHelper
from twisted.words import iwords

TwistedTOC = _tapHelper("Twisted TOC Server", "twisted.words.toctap",
                        "An AIM TOC service.", "toc")

NewTwistedWords = _tapHelper("New Twisted Words", "twisted.words.tap",
                             "A modern words server", "words")


class RelayChatInterface(object):
    classProvides(IPlugin, iwords.IProtocolPlugin)

    name = 'irc'

    def getFactory(cls, realm, portal):
        from twisted.words import service
        return service.IRCFactory(realm, portal)

    getFactory = classmethod(getFactory)


class PBChatInterface(object):
    classProvides(IPlugin, iwords.IProtocolPlugin)
Esempio n. 28
0
from twisted.scripts.mktap import _tapHelper
 	
Punjab = _tapHelper(
 	        "Punjab",
                "punjab.tap",
 	        "A HTTP XMPP client interface",
                "punjab")