Ticket #3014: twisted_application_internet.py.patch
| File twisted_application_internet.py.patch, 1.7 KB (added by victorvieux, 4 years ago) |
|---|
-
twisted/application/internet.py
old new 15 15 They are as follows:: 16 16 17 17 TCPServer, TCPClient, 18 TCP6Server, TCP6Client, 18 19 UNIXServer, UNIXClient, 19 20 SSLServer, SSLClient, 20 21 UDPServer, UDPClient, … … 58 59 @type volatile: C{list} 59 60 60 61 @ivar method: the type of method to call on the reactor, one of B{TCP}, 61 B{ UDP}, B{SSL} or B{UNIX}.62 B{TCP6}, B{UDP}, B{SSL} or B{UNIX}. 62 63 @type method: C{str} 63 64 64 65 @ivar reactor: the current running reactor. 65 @type reactor: a provider of C{IReactorTCP}, C{IReactor UDP},66 @type reactor: a provider of C{IReactorTCP}, C{IReactorTCP6}, C{IReactorUDP}, 66 67 C{IReactorSSL} or C{IReactorUnix}. 67 68 68 69 @ivar _port: instance of port set when the service is started. … … 125 126 @type volatile: C{list} 126 127 127 128 @ivar method: the type of method to call on the reactor, one of B{TCP}, 128 B {UDP}, B{SSL} or B{UNIX}.129 B {TCP6}, B{UDP}, B{SSL} or B{UNIX}. 129 130 @type method: C{str} 130 131 131 132 @ivar reactor: the current running reactor. 132 @type reactor: a provider of C{IReactorTCP}, C{IReactor UDP},133 @type reactor: a provider of C{IReactorTCP}, C{IReactorTCP6}, C{IReactorUDP}, 133 134 C{IReactorSSL} or C{IReactorUnix}. 134 135 135 136 @ivar _connection: instance of connection set when the service is started. … … 194 195 } 195 196 196 197 import new 197 for tran in 'Generic TCP UNIX SSL UDP UNIXDatagram Multicast'.split():198 for tran in 'Generic TCP TCP6 UNIX SSL UDP UNIXDatagram Multicast'.split(): 198 199 for side in 'Server Client'.split(): 199 200 if tran == "Multicast" and side == "Client": 200 201 continue
