transport_test

Exercises various transports, combined with the buffered/framed wrappers.

Originally ported from the C++ version, with Windows support code added.

Members

Classes

CoupledFileTransports
class CoupledFileTransports

Coupled TFileTransports

CoupledMemoryBuffers
class CoupledMemoryBuffers

Coupled TMemoryBuffers.

CoupledSocketTransports
class CoupledSocketTransports

Coupled TSockets.

CoupledTransports
class CoupledTransports(Transport)

Helper class to represent a coupled pair of transports.

CoupledWrapperTransports
class CoupledWrapperTransports(WrapperTransport, InnerCoupledTransports)

Helper template class for creating coupled transports that wrap another transport.

Functions

testReadWrite
void testReadWrite(size_t totalSize, SizeGenerator wSizeGenerator, SizeGenerator rSizeGenerator, SizeGenerator wChunkGenerator, SizeGenerator rChunkGenerator, size_t maxOutstanding)

Test interleaved write and read calls.

Meta