module documentation

Tests for implementations of IReactorTCP.

Class AddressTests Tests for address-related interactions with client and server protocols.
Class CallBackOrderTests Test the order of reactor callbacks
Class CannotBindTests Tests for correct behavior when a reactor cannot bind to the required TCP port.
Class ClientStartStopFactory Undocumented
Class ClosingFactory Factory that closes port immediately.
Class ClosingProtocol Undocumented
Class ConnectionLosingProtocol Undocumented
Class ConnectionLostNotifyingProtocol Protocol which fires a Deferred which was previously passed to its initializer when the connection is lost.
Class FactoryTests Tests for factories.
Class FireOnClose A wrapper around a protocol that makes it fire a deferred when connectionLost is called.
Class FireOnCloseFactory Undocumented
Class HalfCloseBuggyApplicationTests Test half-closing connections where notification code has bugs.
Class HalfCloseNoNotificationAndShutdownExceptionTests No class docstring; 0/3 instance variable, 2/5 methods documented
Class HalfCloseTests Test half-closing connections.
Class HandleSavingProtocol Protocol which grabs the platform-specific socket handle and saves it as an attribute on itself when the connection is established.
Class LargeBufferReaderClientFactory Undocumented
Class LargeBufferReaderProtocol Undocumented
Class LargeBufferTests Test that buffering large amounts of data works.
Class LargeBufferWriterProtocol Undocumented
Class ListeningTests No class docstring; 8/10 methods documented
Class LocalRemoteAddressTests Tests for correct getHost/getPeer values and that the correct address is passed to buildProtocol.
Class LogTests Test logging facility of TCP base classes.
Class LoopbackTests Test loopback connections.
Class MyClientFactory Client factory which creates AccumulatingProtocol instances.
Class MyHCFactory Undocumented
Class MyHCProtocol Undocumented
Class MyOtherClientFactory Undocumented
Class MyProtocolFactoryMixin Mixin for factories which create AccumulatingProtocol instances.
Class MyServerFactory Server factory which creates AccumulatingProtocol instances.
Class NoopProtocol Undocumented
Class PauseProducingTests Test some behaviors of pausing the production of a transport.
Class ProperlyCloseFilesMixin Tests for platform resources properly being cleaned up.
Class ProperlyCloseFilesTests Test that the sockets created by IReactorTCP.connectTCP are cleaned up when the connection they are associated with is closed.
Class ReaderProtocol Undocumented
Class StartStopFactory Undocumented
Class WiredFactory Undocumented
Class WiredForDeferreds Undocumented
Class WriteDataTests Test that connected TCP sockets can actually write data. Try to exercise the entire ITransport interface.
Class WriterClientFactory Undocumented
Class WriterProtocol Undocumented
Function loopUntil Poor excuse for an event notification helper. This polls a condition and calls back a Deferred when it is seen to be true.
def loopUntil(predicate, interval=0): (source)

Poor excuse for an event notification helper. This polls a condition and calls back a Deferred when it is seen to be true.

Do not use this function.