root/trunk/twisted/words/toctap.py

Revision 25168, 488 bytes (checked in by exarkun, 22 months ago)

Merge remove-mktap-3393

Author: kehander1, exarkun
Reviewer: ralphm, itamar
Fixes: #3393

Remove almost all references to mktap(1) from the Twisted documentation.

The finger tutorial still refers to mktap since it also contains an
old-style plugin which will not work with twistd.

Line 
1
2# Copyright (c) 2001-2004 Twisted Matrix Laboratories.
3# See LICENSE for details.
4
5
6"""
7Support module for making TOC servers with twistd.
8"""
9
10from twisted.words.protocols import toc
11from twisted.python import usage
12from twisted.application import strports
13
14class Options(usage.Options):
15    synopsis = "[-p <port>]"
16    optParameters = [["port", "p", "5190"]]
17    longdesc = "Makes a TOC server."
18
19def makeService(config):
20    return strports.service(config['port'], toc.TOCFactory())
Note: See TracBrowser for help on using the browser.