class documentation
class DatagramTransportTestsMixin(LogObserverMixin): (source)
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_connection |
When a connection is lost a message is logged containing an address identifying the port and the fact that it was closed. |
Method | test_started |
When a port starts, a message including a description of the associated protocol is logged. |
Method | test_stop |
DatagramProtocol.stopProtocol is called asynchronously (ie, not re-entrantly) when stopListening is used to stop the datagram transport. |
Inherited from LogObserverMixin
:
Method | observe |
Undocumented |
When a connection is lost a message is logged containing an address identifying the port and the fact that it was closed.
DatagramProtocol.stopProtocol
is called asynchronously (ie, not re-entrantly) when stopListening is used to stop the datagram transport.