[Twisted-Python] (no subject)

Wolfgang Eichler Wolfgang.W.Eichler at gmx.de
Wed Feb 1 13:38:42 EST 2006


I don't get the docu for class TcpServer when I do:
pydoc.py -w base

The class Echo is well documented.

For TcpServer I only get:

TcpServer = <class base.TcpServer>

base.py:
--------------
import twisted.protocols.basic
from twisted.internet.protocol import DatagramProtocol, Protocol,
Factory

class TcpServer(twisted.protocols.basic.LineReceiver):
    """ central class for incoming tcp messages
    """
    def connectionMade(self):
        """ new connection
        """

class Echo(DatagramProtocol):
    """ Handles incoming datagrams (udp, traps)
    """ 
    def datagramReceived(self, data, (host, port)):
        """ contains some standard prints tbd
        """
---------------

Thanks for any hint ...





More information about the Twisted-Python mailing list