Known subclasses: twisted.internet.test.test_udp.UDPFDServerTestsBuilder, twisted.internet.test.test_udp.UDPServerTestsBuilder

Mixin defining tests which apply to any port/datagram based transport.

Method test_startedListeningLogMessage When a port starts, a message including a description of the associated protocol is logged.
Method test_connectionLostLogMessage When a connection is lost a message is logged containing an address identifying the port and the fact that it was closed.
Method test_stopProtocolScheduling DatagramProtocol.stopProtocol is called asynchronously (ie, not re-entrantly) when stopListening is used to stop the datagram transport.

Inherited from LogObserverMixin:

Method observe Undocumented
def test_startedListeningLogMessage(self):

When a port starts, a message including a description of the associated protocol is logged.

def test_connectionLostLogMessage(self):

When a connection is lost a message is logged containing an address identifying the port and the fact that it was closed.

def test_stopProtocolScheduling(self):

DatagramProtocol.stopProtocol is called asynchronously (ie, not re-entrantly) when stopListening is used to stop the datagram transport.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.