# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from zope.interface import provider from twisted.plugin import IPlugin from twisted.application.service import ServiceMaker from twisted.words import iwords NewTwistedWords = ServiceMaker( "New Twisted Words", "twisted.words.tap", "A modern words server", "words") TwistedXMPPRouter = ServiceMaker( "XMPP Router", "twisted.words.xmpproutertap", "An XMPP Router server", "xmpp-router") @provider(IPlugin, iwords.IProtocolPlugin) class RelayChatInterface(object): name = 'irc' def getFactory(cls, realm, portal): from twisted.words import service return service.IRCFactory(realm, portal) getFactory = classmethod(getFactory) @provider(IPlugin, iwords.IProtocolPlugin) class PBChatInterface(object): name = 'pb' def getFactory(cls, realm, portal): from twisted.spread import pb return pb.PBServerFactory(portal, True) getFactory = classmethod(getFactory)
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
__pycache__ | Folder | 0755 |
|
|
__init__.py | File | 590 B | 0644 |
|
cred_anonymous.py | File | 1017 B | 0644 |
|
cred_file.py | File | 1.83 KB | 0644 |
|
cred_memory.py | File | 2.33 KB | 0644 |
|
cred_sshkeys.py | File | 1.46 KB | 0644 |
|
cred_unix.py | File | 3.75 KB | 0644 |
|
dropin.cache | File | 6.05 KB | 0755 |
|
twisted_conch.py | File | 519 B | 0644 |
|
twisted_core.py | File | 589 B | 0644 |
|
twisted_ftp.py | File | 229 B | 0644 |
|
twisted_inet.py | File | 260 B | 0644 |
|
twisted_names.py | File | 247 B | 0644 |
|
twisted_portforward.py | File | 275 B | 0644 |
|
twisted_reactors.py | File | 1.84 KB | 0644 |
|
twisted_runner.py | File | 278 B | 0644 |
|
twisted_socks.py | File | 247 B | 0644 |
|
twisted_trial.py | File | 2.04 KB | 0644 |
|
twisted_web.py | File | 312 B | 0644 |
|
twisted_words.py | File | 1 KB | 0644 |
|