twisted.internet.test.test_tcp.TCPTransportServerAddressTestMixin(object)
class documentationtwisted.internet.test.test_tcp
(View In Hierarchy)
Known subclasses: twisted.internet.test.test_tcp.AdoptStreamConnectionTestsBuilder, twisted.internet.test.test_tcp.TCPTransportTestsBuilder
Test mixing for TCP server address building and log prefix.
Method | getConnectedClientAndServer | Helper method returnine a Deferred
firing with a tuple of a client protocol, a server protocol, and a running
TCP port. |
Method | test_serverAddressTCP4 | Server
instances have a string representation indicating on which port they're
running, and the connected address is stored on the
peerAddresses attribute of the factory. |
Method | test_serverAddressTCP6 | IPv6 Server
instances have a string representation indicating on which port they're
running, and the connected address is stored on the
peerAddresses attribute of the factory. |
Method | _testServerAddress | Helper method to test TCP server addresses on either IPv4 or IPv6. |
Helper method returnine a Deferred
firing with a tuple of a client protocol, a server protocol, and a running
TCP port.
Helper method to test TCP server addresses on either IPv4 or IPv6.
Server
instances have a string representation indicating on which port they're
running, and the connected address is stored on the
peerAddresses
attribute of the factory.
IPv6 Server
instances have a string representation indicating on which port they're
running, and the connected address is stored on the
peerAddresses
attribute of the factory.