class documentation

This mixin defines test methods which should apply to most ITransport implementations.

Method test_logPrefix Client and server transports implement ILoggingContext.logPrefix to return a message reflecting the protocol they are running.
Method test_protocolGarbageAfterLostConnection After the connection a protocol is being used for is closed, the reactor discards all of its references to the protocol.
Method test_writeAfterDisconnect After a connection is disconnected, ITransport.write and ITransport.writeSequence are no-ops.
Class Variable endpoints Undocumented
def test_logPrefix(self): (source)

Client and server transports implement ILoggingContext.logPrefix to return a message reflecting the protocol they are running.

def test_protocolGarbageAfterLostConnection(self): (source)

After the connection a protocol is being used for is closed, the reactor discards all of its references to the protocol.

def test_writeAfterDisconnect(self): (source)

After a connection is disconnected, ITransport.write and ITransport.writeSequence are no-ops.